diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-07-22 21:27:23 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-07-22 21:27:23 +0000 |
commit | d00ed116d4a81c6a47e01299005b6f4104f7e459 (patch) | |
tree | 2f652c11654b3c3f7ee0ed1a468c6ba9dd2cb52d /eclass/java-utils-2.eclass | |
parent | Stable for HPPA (bug #232370). (diff) | |
download | historical-d00ed116d4a81c6a47e01299005b6f4104f7e459.tar.gz historical-d00ed116d4a81c6a47e01299005b6f4104f7e459.tar.bz2 historical-d00ed116d4a81c6a47e01299005b6f4104f7e459.zip |
Add support for EANT_GENTOO_CLASSPATH_EXTRA.
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 8193547d7fdf..f475ae4b5f3a 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -6,7 +6,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.111 2008/07/19 09:24:47 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.112 2008/07/22 21:27:23 betelgeuse Exp $ # ----------------------------------------------------------------------------- # @eclass-begin @@ -1944,7 +1944,10 @@ eant() { if [[ ${cp} ]]; then # It seems ant does not like single quotes around ${cp} - antflags="${antflags} -Dgentoo.classpath=\"${cp#:}\"" + cp=${cp#:} + [[ ${EANT_GENTOO_CLASSPATH_EXTRA} ]] && \ + cp="${cp}:${EANT_GENTOO_CLASSPATH_EXTRA}" + antflags="${antflags} -Dgentoo.classpath=\"${cp}\"" fi [[ -n ${JAVA_PKG_DEBUG} ]] && echo ant ${antflags} "${@}" |