summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-12-13 09:53:22 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-12-20 11:36:50 +0100
commit3092c3c82ecf4770c8e8f8c7ada35327ec6f706c (patch)
tree4bc5e09581016677097d527b9008d3950ad210e9 /virtual/jdk
parentdev-java/openjdk: add 24.0.1_p0 - non-LTS, no keywords (diff)
downloadgentoo-3092c3c82ecf4770c8e8f8c7ada35327ec6f706c.tar.gz
gentoo-3092c3c82ecf4770c8e8f8c7ada35327ec6f706c.tar.bz2
gentoo-3092c3c82ecf4770c8e8f8c7ada35327ec6f706c.zip
virtual/jdk: slot 24 adjust RDEPEND
This allows to uninstall openjdk-bin after installing the non-bin. Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'virtual/jdk')
-rw-r--r--virtual/jdk/jdk-24-r1.ebuild (renamed from virtual/jdk/jdk-24.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/virtual/jdk/jdk-24.ebuild b/virtual/jdk/jdk-24-r1.ebuild
index fa432422ec6c..5a23aeed9722 100644
--- a/virtual/jdk/jdk-24.ebuild
+++ b/virtual/jdk/jdk-24-r1.ebuild
@@ -8,4 +8,7 @@ SLOT="${PV}"
# KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE="headless-awt"
-RDEPEND="dev-java/openjdk-bin:${SLOT}[gentoo-vm(+),headless-awt=]"
+RDEPEND="|| (
+ dev-java/openjdk-bin:${SLOT}[gentoo-vm(+),headless-awt=]
+ dev-java/openjdk:${SLOT}[gentoo-vm(+),headless-awt=]
+)"