summaryrefslogtreecommitdiff
path: root/dev-java/openjdk
diff options
context:
space:
mode:
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}= )
"