mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
java-ant-2.eclass: Drop redundant EAPI conditional
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user