summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-01-17 22:04:20 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-01-17 22:12:36 -0800
commit043d05d5aa2aa13688bd1a35e051c3adf1fee515 (patch)
treecfa0a15909340fc4607a85a39d4feb8eaf3274fd /dev-java/openjdk
parentapp-admin/ansible: 2.6.12 and 2.7.6 bump (diff)
downloadgentoo-043d05d5aa2aa13688bd1a35e051c3adf1fee515.tar.gz
gentoo-043d05d5aa2aa13688bd1a35e051c3adf1fee515.tar.bz2
gentoo-043d05d5aa2aa13688bd1a35e051c3adf1fee515.zip
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>
Diffstat (limited to 'dev-java/openjdk')
-rw-r--r--dev-java/openjdk/openjdk-11.0.1_p13.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-java/openjdk/openjdk-11.0.1_p13.ebuild b/dev-java/openjdk/openjdk-11.0.1_p13.ebuild
index d606429ebcf0..c16c9e8bb540 100644
--- a/dev-java/openjdk/openjdk-11.0.1_p13.ebuild
+++ b/dev-java/openjdk/openjdk-11.0.1_p13.ebuild
@@ -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