diff options
Diffstat (limited to 'dev-java/openjdk-bin')
-rw-r--r-- | dev-java/openjdk-bin/openjdk-bin-11.0.14_p9-r1.ebuild (renamed from dev-java/openjdk-bin/openjdk-bin-11.0.14_p9.ebuild) | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-java/openjdk-bin/openjdk-bin-11.0.14_p9.ebuild b/dev-java/openjdk-bin/openjdk-bin-11.0.14_p9-r1.ebuild index 019ca529d3b6..8a314444f21d 100644 --- a/dev-java/openjdk-bin/openjdk-bin-11.0.14_p9.ebuild +++ b/dev-java/openjdk-bin/openjdk-bin-11.0.14_p9-r1.ebuild @@ -71,7 +71,7 @@ src_unpack() { } src_install() { - local dest="/opt/${PN}-${SLOT}" + local dest="/opt/${P}" local ddest="${ED}/${dest#/}" # on macOS if they would exist they would be called .dylib, but most @@ -107,6 +107,9 @@ src_install() { dodir "${dest}" cp -pPR * "${ddest}" || die + # provide stable symlink + dosym "${P}" "/opt/${PN}-${SLOT}" + java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh java-vm_set-pax-markings "${ddest}" java-vm_revdep-mask |