From: Georgy Yakovlev Date: Fri, 18 Jan 2019 06:04:20 +0000 (-0800) Subject: dev-java/openjdk: fix jvm detection X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=043d05d5aa2aa13688bd1a35e051c3adf1fee515;p=gentoo.git 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 --- 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