commit:     bdf2ac459fe297719225001643fc722df90e954d
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  8 08:20:23 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 09:40:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdf2ac45

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 <AT> gentoo.org>
Signed-off-by: Florian Schmaus <flow <AT> 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..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
 

Reply via email to