summaryrefslogtreecommitdiff
path: root/dev-java/openjdk
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-04-28 11:42:29 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-04-28 11:42:29 -0400
commit9ddaafcdcaac53fa9d5d3e7992e921e63378fb99 (patch)
tree12ba5ee6f2cb3811bd2867f52f2b2694cc6a4a67 /dev-java/openjdk
parenta02bf2bba9d294cf3f8e3482a8a75cd11864d776 (diff)
downloadgentoo-overlay-9ddaafcdcaac53fa9d5d3e7992e921e63378fb99.tar.xz
gentoo-overlay-9ddaafcdcaac53fa9d5d3e7992e921e63378fb99.zip
dev-java/openjdk: fix dep
Diffstat (limited to 'dev-java/openjdk')
-rw-r--r--dev-java/openjdk/openjdk-16.0.1_p9.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-java/openjdk/openjdk-16.0.1_p9.ebuild b/dev-java/openjdk/openjdk-16.0.1_p9.ebuild
index 7a5b20f..4ef9a9a 100644
--- a/dev-java/openjdk/openjdk-16.0.1_p9.ebuild
+++ b/dev-java/openjdk/openjdk-16.0.1_p9.ebuild
@@ -62,7 +62,10 @@ DEPEND="
x11-libs/libXrender
x11-libs/libXt
x11-libs/libXtst
- virtual/jdk:15
+ || (
+ virtual/jdk:${SLOT}
+ virtual/jdk:$((SLOT-1))
+ )
javafx? ( dev-java/openjfx:${SLOT}= )
"