mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-java/openjdk-bin: fix installation directory
Bug: https://bugs.gentoo.org/831780 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
+4
-1
@@ -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
|
||||
Reference in New Issue
Block a user