Signed-off-by: Volkmar W. Pogatzki <gen...@pogatzki.net> --- eclass/java-ant-2.eclass | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/eclass/java-ant-2.eclass b/eclass/java-ant-2.eclass index 35fe84997563..f29a8d749227 100644 --- a/eclass/java-ant-2.eclass +++ b/eclass/java-ant-2.eclass @@ -1,4 +1,4 @@ -# Copyright 2004-2023 Gentoo Authors +# Copyright 2004-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: java-ant-2.eclass @@ -51,10 +51,16 @@ inherit java-utils-2 multilib # @ECLASS_VARIABLE: JAVA_ANT_DISABLE_ANT_CORE_DEP # @DEFAULT_UNSET # @DESCRIPTION: -# Setting this variable non-empty before inheriting java-ant-2 disables adding -# dev-java/ant-core into DEPEND. +# Setting this variable non-empty before inheriting java-ant-2 disables +# adding dev-java/ant into DEPEND. + +# @VARIABLE: JAVA_ANT_E_DEPEND +# @INTERNAL +# @DESCRIPTION: +# Convenience variable adding packages to DEPEND so they need not be added +# in the ebuild. if [[ -z "${JAVA_ANT_DISABLE_ANT_CORE_DEP}" ]]; then - JAVA_ANT_E_DEPEND+=" >=dev-java/ant-core-1.8.2:0" + JAVA_ANT_E_DEPEND+=" >=dev-java/ant-1.10.14-r2:0" fi # add ant tasks specified in WANT_ANT_TASKS to DEPEND -- 2.41.0