summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-05-01 20:58:42 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-05-01 21:03:49 +0200
commit82750a31b643c6c6c26c5262b418f3b6e33e46dd (patch)
tree7b7aef9ff0e733b4849ef665be84db664c248556 /dev-util/bazel/bazel-5.0.0.ebuild
parentapp-arch/lzlib: ppc64 stable wrt bug #825466 (diff)
downloadgentoo-82750a31b643c6c6c26c5262b418f3b6e33e46dd.tar.gz
gentoo-82750a31b643c6c6c26c5262b418f3b6e33e46dd.tar.bz2
gentoo-82750a31b643c6c6c26c5262b418f3b6e33e46dd.zip
dev-util/bazel: fix JDK/JRE dependencies
The bazel versions in ::gentoo do not build with JDK 17. Restrict to suitable JDKs. Also make RDEPEND a JRE dependency. Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-util/bazel/bazel-5.0.0.ebuild')
-rw-r--r--dev-util/bazel/bazel-5.0.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-util/bazel/bazel-5.0.0.ebuild b/dev-util/bazel/bazel-5.0.0.ebuild
index 778608f34249..36ee3e954ac0 100644
--- a/dev-util/bazel/bazel-5.0.0.ebuild
+++ b/dev-util/bazel/bazel-5.0.0.ebuild
@@ -17,8 +17,9 @@ IUSE="examples tools"
# strip corrupts the bazel binary
# test fails with network-sandbox: An error occurred during the fetch of repository 'io_bazel_skydoc' (bug 690794)
RESTRICT="strip test"
-RDEPEND=">=virtual/jdk-11:*"
-DEPEND="${RDEPEND}
+RDEPEND=">=virtual/jre-11:*"
+DEPEND="
+ virtual/jdk:11
app-arch/unzip
app-arch/zip"