diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-12-09 09:28:03 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-12-09 11:01:28 +0100 |
commit | b11d535857e9dbb1e0568c02da107cdae1b1078c (patch) | |
tree | 25039b222151bfda19d09dab11c041bddb107296 /eclass/java-ant-2.eclass | |
parent | java-utils-2.eclass: Drop redundant EAPI conditionals (diff) | |
download | gentoo-b11d535857e9dbb1e0568c02da107cdae1b1078c.tar.gz gentoo-b11d535857e9dbb1e0568c02da107cdae1b1078c.tar.bz2 gentoo-b11d535857e9dbb1e0568c02da107cdae1b1078c.zip |
java-ant-2.eclass: Drop redundant EAPI conditional
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/java-ant-2.eclass')
-rw-r--r-- | eclass/java-ant-2.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/java-ant-2.eclass b/eclass/java-ant-2.eclass index 2513ded70a30..35fe84997563 100644 --- a/eclass/java-ant-2.eclass +++ b/eclass/java-ant-2.eclass @@ -54,8 +54,7 @@ inherit java-utils-2 multilib # Setting this variable non-empty before inheriting java-ant-2 disables adding # dev-java/ant-core into DEPEND. if [[ -z "${JAVA_ANT_DISABLE_ANT_CORE_DEP}" ]]; then - JAVA_ANT_E_DEPEND+=" >=dev-java/ant-core-1.8.2" - [[ "${EAPI:-0}" != 0 ]] && JAVA_ANT_E_DEPEND+=":0" + JAVA_ANT_E_DEPEND+=" >=dev-java/ant-core-1.8.2:0" fi # add ant tasks specified in WANT_ANT_TASKS to DEPEND @@ -121,7 +120,7 @@ JAVA_ANT_CLASSPATH_TAGS="javac xjavac" # @FUNCTION: java-ant-2_src_configure # @DESCRIPTION: -# src_configure rewrites the build.xml files automatically, unless EAPI is undefined, 0 or 1. +# src_configure rewrites the build.xml files automatically. java-ant-2_src_configure() { # if java support is optional, don't perform this when the USE flag is off if has java-pkg-opt-2 ${INHERITED}; then |