summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-01-28 21:42:24 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-01-28 21:42:24 +0000
commitdf391b4e32e3ecded0ca02d47b7dad80712a9963 (patch)
tree4566f01671aad1d1f4b81b8f37218441f3a0efef /eclass/java-ant-2.eclass
parentx86 stable wrt bug 156304 (diff)
downloadhistorical-df391b4e32e3ecded0ca02d47b7dad80712a9963.tar.gz
historical-df391b4e32e3ecded0ca02d47b7dad80712a9963.tar.bz2
historical-df391b4e32e3ecded0ca02d47b7dad80712a9963.zip
Use WANT_ANT_TASKS if EANT_ANT_TASKS is not defined. Fixes bug #164315.
Diffstat (limited to 'eclass/java-ant-2.eclass')
-rw-r--r--eclass/java-ant-2.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/java-ant-2.eclass b/eclass/java-ant-2.eclass
index 484d7126915c..8f78577e2aaa 100644
--- a/eclass/java-ant-2.eclass
+++ b/eclass/java-ant-2.eclass
@@ -10,7 +10,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.14 2007/01/21 01:20:21 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.15 2007/01/28 21:42:24 betelgeuse Exp $
inherit java-utils-2
@@ -27,8 +27,10 @@ inherit java-utils-2
# We need some tools from javatoolkit. We also need portage 2.1 for phase hooks
DEPEND=">=dev-java/javatoolkit-0.1.5 ${JAVA_PKG_PORTAGE_DEP}"
+
# add ant-core into DEPEND, unless disabled
-[[ "${JAVA_ANT_DISABLE_ANT_CORE_DEP:-true}" ]] || DEPEND="${DEPEND} dev-java/ant-core"
+[[ "${JAVA_ANT_DISABLE_ANT_CORE_DEP}" ]] || DEPEND="${DEPEND} dev-java/ant-core"
+
# add ant tasks specified in WANT_ANT_TASKS to DEPEND
local ANT_TASKS_DEPEND;
ANT_TASKS_DEPEND="$(java-pkg_ant-tasks-depend)"