summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-06-01 14:51:52 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-06-01 14:53:17 -0700
commitc2f51aac03f62434b09fe47de071cce72b199e2d (patch)
treebd1fd7da45d54cebcf69af116777bb2198f3abdc /dev-java
parentmedia-libs/harfbuzz: Add missed Makefile.in sed (diff)
downloadgentoo-c2f51aac03f62434b09fe47de071cce72b199e2d.tar.gz
gentoo-c2f51aac03f62434b09fe47de071cce72b199e2d.tar.bz2
gentoo-c2f51aac03f62434b09fe47de071cce72b199e2d.zip
dev-java/openjdk-bin: revbump, provide stable symlink in /opt
Closes: 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')
-rw-r--r--dev-java/openjdk-bin/openjdk-bin-11.0.7_p10-r1.ebuild (renamed from dev-java/openjdk-bin/openjdk-bin-11.0.7_p10.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-java/openjdk-bin/openjdk-bin-11.0.7_p10.ebuild b/dev-java/openjdk-bin/openjdk-bin-11.0.7_p10-r1.ebuild
index b62ea6e8fe17..4ccc0089139d 100644
--- a/dev-java/openjdk-bin/openjdk-bin-11.0.7_p10.ebuild
+++ b/dev-java/openjdk-bin/openjdk-bin-11.0.7_p10-r1.ebuild
@@ -89,6 +89,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