Index: java-ant-2.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v retrieving revision 1.12 diff -u -r1.12 java-ant-2.eclass --- java-ant-2.eclass 12 Jan 2007 14:03:16 -0000 1.12 +++ java-ant-2.eclass 20 Jan 2007 22:24:42 -0000 @@ -20,6 +20,7 @@ # 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}" +[[ "${JAVA_ANT_DISABLE_ANT_CORE_DEP:-true}" ]] || DEPEND="${DEPEND} dev-java/ant-core" # ------------------------------------------------------------------------------ # @global JAVA_PKG_BSFIX @@ -71,6 +72,8 @@ # @public java-ant_src_unpack # # Unpacks the source, and attempts to fix build files. +# variable JAVA_ANT_IGNORE_SYSTEM_CLASSES: +# ignore ant classpath in available tasks # ------------------------------------------------------------------------------ post_src_unpack() { if java-pkg_func-exists ant_src_unpack; then @@ -78,6 +81,8 @@ ant_src_unpack fi java-ant_bsfix + [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \ + && java-ant_ignore-system-classes "${S}/build.xml" } # ------------------------------------------------------------------------------