summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2022-06-26 10:47:02 +0200
committerStephan Hartmann <sultan@gentoo.org>2022-06-26 10:47:24 +0200
commita6aca0f4ebb5f44ef5928536237901f780940717 (patch)
tree2c655d071225232cd4cc4effdc215e2cd4d9dd9a /www-client
parentdev-libs/nspr: ppc64 stable wrt bug #854258 (diff)
downloadgentoo-a6aca0f4ebb5f44ef5928536237901f780940717.tar.gz
gentoo-a6aca0f4ebb5f44ef5928536237901f780940717.tar.bz2
gentoo-a6aca0f4ebb5f44ef5928536237901f780940717.zip
www-client/chromium: add sanity check for java
Closes: https://bugs.gentoo.org/853907 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium/chromium-103.0.5060.53.ebuild3
-rw-r--r--www-client/chromium/chromium-104.0.5112.12.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/www-client/chromium/chromium-103.0.5060.53.ebuild b/www-client/chromium/chromium-103.0.5060.53.ebuild
index 8804b294ac3e..e050cf35e16f 100644
--- a/www-client/chromium/chromium-103.0.5060.53.ebuild
+++ b/www-client/chromium/chromium-103.0.5060.53.ebuild
@@ -246,6 +246,9 @@ pre_build_checks() {
die "At least clang 12 is required"
fi
fi
+ if use js-type-check; then
+ "${EPREFIX}"/usr/bin/java --version 2>1 > /dev/null || die "Java VM not setup correctly"
+ fi
fi
# Check build requirements, bug #541816 and bug #471810 .
diff --git a/www-client/chromium/chromium-104.0.5112.12.ebuild b/www-client/chromium/chromium-104.0.5112.12.ebuild
index 9b53801353e1..82f9045bb733 100644
--- a/www-client/chromium/chromium-104.0.5112.12.ebuild
+++ b/www-client/chromium/chromium-104.0.5112.12.ebuild
@@ -256,6 +256,9 @@ pre_build_checks() {
die "At least clang 12 is required"
fi
fi
+ if use js-type-check; then
+ "${EPREFIX}"/usr/bin/java --version 2>1 > /dev/null || die "Java VM not setup correctly"
+ fi
fi
# Check build requirements, bug #541816 and bug #471810 .