summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-06-01 15:07:10 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-06-01 15:07:31 -0700
commit8f2246c7a7d3bb9b142d4c1e115f1878ca72450f (patch)
treefdb4825eaa9255273276536a54718e0abda0ea30 /dev-java/openjdk-jre-bin
parentnet-wireless/broadcom-sta: linux 5.6 support (diff)
downloadgentoo-8f2246c7a7d3bb9b142d4c1e115f1878ca72450f.tar.gz
gentoo-8f2246c7a7d3bb9b142d4c1e115f1878ca72450f.tar.bz2
gentoo-8f2246c7a7d3bb9b142d4c1e115f1878ca72450f.zip
dev-java/openjdk-jre-bin: provide stable symlink for jre:11
Bug: https://bugs.gentoo.org/726712 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java/openjdk-jre-bin')
-rw-r--r--dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.7_p10-r1.ebuild (renamed from dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.7_p10.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.7_p10.ebuild b/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.7_p10-r1.ebuild
index 33938cb19738..23e7a0fbadc0 100644
--- a/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.7_p10.ebuild
+++ b/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.7_p10-r1.ebuild
@@ -75,6 +75,9 @@ src_install() {
dodir "${dest}"
cp -pPR * "${ddest}" || die
+ # provide stable symlink
+ dosym "${P}" "/opt/${PN}-${SLOT}"
+
use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
java-vm_set-pax-markings "${ddest}"
java-vm_revdep-mask