summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-06-08 10:20:23 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-06-10 11:40:35 +0200
commitbdf2ac459fe297719225001643fc722df90e954d (patch)
treee2ee6eab9787d249c0a3ded420a3355ac8d8829d /eclass
parentdev-java/tomcat-native: dropped obsolete 1.2.32 (diff)
downloadgentoo-bdf2ac459fe297719225001643fc722df90e954d.tar.gz
gentoo-bdf2ac459fe297719225001643fc722df90e954d.tar.bz2
gentoo-bdf2ac459fe297719225001643fc722df90e954d.zip
java-vm-2.eclass: add BDEPEND="app-arch/unzip"
Thanks to David 'soap' Seifert for pointing out the missing whitespace when appending BDEPEND to DEPEND. Closes: https://bugs.gentoo.org/850415 Closes: https://github.com/gentoo/gentoo/pull/25804 Reported-by: Joonas Niilola <juippis@gentoo.org> Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-vm-2.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/java-vm-2.eclass b/eclass/java-vm-2.eclass
index 7c63e63fad76..8196b1cdc72a 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