From 043d05d5aa2aa13688bd1a35e051c3adf1fee515 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Thu, 17 Jan 2019 22:04:20 -0800 Subject: [PATCH] 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 --- dev-java/openjdk/openjdk-11.0.1_p13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2