mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/openjdk: fix jvm detection
This should point to JAVA_VM_DIR which is "/usr/lib/jvm" Hack below masked detection of jvm for users running with USE=gentoo-vm Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
@@ -115,7 +115,7 @@ pkg_setup() {
|
||||
|
||||
local vm
|
||||
for vm in ${JAVA_PKG_WANT_BUILD_VM}; do
|
||||
if [[ -d ${EPREFIX}/usr/$(get_libdir)/jvm/${vm} ]]; then
|
||||
if [[ -d ${EPREFIX}/usr/lib/jvm/${vm} ]]; then
|
||||
java-pkg-2_pkg_setup
|
||||
return
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user