summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2023-02-17 12:06:31 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2023-02-17 12:08:43 +0100
commit5f32171c981e5d65ab8b39706e67db5d4fb5c222 (patch)
treed7f27fe6351f40321c9ef056551f75ecd7cf4764 /eclass
parentnet-analyzer/pypacker: fix unpack (diff)
downloadgentoo-5f32171c981e5d65ab8b39706e67db5d4fb5c222.tar.gz
gentoo-5f32171c981e5d65ab8b39706e67db5d4fb5c222.tar.bz2
gentoo-5f32171c981e5d65ab8b39706e67db5d4fb5c222.zip
java-pkg-opt-2.eclass: partly reverted conditional eapply_user, restricted to eapi 6-8
Closes: https://bugs.gentoo.org/895106 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-pkg-opt-2.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/java-pkg-opt-2.eclass b/eclass/java-pkg-opt-2.eclass
index 8e69e6c0253f..3a4b25ec2f0c 100644
--- a/eclass/java-pkg-opt-2.eclass
+++ b/eclass/java-pkg-opt-2.eclass
@@ -49,6 +49,9 @@ java-pkg-opt-2_pkg_setup() {
java-pkg-opt-2_src_prepare() {
use ${JAVA_PKG_OPT_USE} && java-utils-2_src_prepare
+ case "${EAPI:-0}" in
+ [678]) use ${JAVA_PKG_OPT_USE} || eapply_user ;;
+ esac
}