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:
Georgy Yakovlev
2019-01-17 22:04:20 -08:00
parent c2a66c3e7c
commit 043d05d5aa

View File

@@ -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