Closes: https://bugs.gentoo.org/850415
Reported-by: Joonas Niilola <juip...@gentoo.org>
Signed-off-by: Florian Schmaus <f...@gentoo.org>
---
 eclass/java-vm-2.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/java-vm-2.eclass b/eclass/java-vm-2.eclass
index 7c63e63fad76..c0aea3e9ea4a 100644
--- a/eclass/java-vm-2.eclass
+++ b/eclass/java-vm-2.eclass
@@ -24,6 +24,11 @@ RDEPEND="
        app-eselect/eselect-java
 "
 DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
+
+if [[ ${EAPI} == 6 ]]; then
+       DEPEND+="${BDEPEND}"
+fi
 
 export WANT_JAVA_CONFIG=2
 
-- 
2.35.1


Reply via email to