Mercurial > hg > release > icedtea6-1.13
changeset 270:bb75577dc4f5 cacao
2007-10-02 Lillian Angel <langel@redhat.com>
* Makefile.am: Removed ANT_HOME, added patch.
* Makefile.in: Regenerated.
* configure: Regenerated.
* configure.ac: Set --with-ant-home default to /usr/share/ant
* patches/icedtea-ant.patch: New patch
author | Lillian Angel <langel@redhat.com> |
---|---|
date | Tue, 02 Oct 2007 11:48:14 -0400 |
parents | ecb4f38aa21d |
children | 70c2de06add1 |
files | ChangeLog Makefile.am configure configure.ac patches/icedtea-ant.patch |
diffstat | 5 files changed, 36 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 02 09:04:05 2007 -0400 +++ b/ChangeLog Tue Oct 02 11:48:14 2007 -0400 @@ -1,3 +1,11 @@ +2007-10-02 Lillian Angel <langel@redhat.com> + + * Makefile.am: Removed ANT_HOME, added patch. + * Makefile.in: Regenerated. + * configure: Regenerated. + * configure.ac: Set --with-ant-home default to /usr/share/ant + * patches/icedtea-ant.patch: New patch + 2007-10-02 Lillian Angel <langel@redhat.com> * AUTHORS: Added Matthias Klose.
--- a/Makefile.am Tue Oct 02 09:04:05 2007 -0400 +++ b/Makefile.am Tue Oct 02 11:48:14 2007 -0400 @@ -141,6 +141,7 @@ patches/icedtea-demos.patch \ patches/icedtea-use-system-tzdata.patch \ patches/icedtea-headers.patch \ + patches/icedtea-ant.patch \ $(FAST_BUILD_PATCH) if WITH_CACAO
--- a/configure Tue Oct 02 09:04:05 2007 -0400 +++ b/configure Tue Oct 02 11:48:14 2007 -0400 @@ -1353,7 +1353,7 @@ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-icedtea-home IcedTea home directory (default is /usr/lib/jvm/java-icedtea) - --with-ant-home Ant home directory (default is /usr) + --with-ant-home Ant home directory (default is /usr/share/ant) --with-openjdk-src-zip specify the location of the openjdk source zip --with-openjdk-src-dir specify the location of the openjdk sources --with-cacao use CACAO as VM @@ -4813,14 +4813,14 @@ withval=$with_ant_home; if test "x${withval}" == x then - SYSTEM_ANT_DIR=/usr + SYSTEM_ANT_DIR=/usr/share/ant else SYSTEM_ANT_DIR=${withval} fi else - SYSTEM_ANT_DIR=/usr + SYSTEM_ANT_DIR=/usr/share/ant fi
--- a/configure.ac Tue Oct 02 09:04:05 2007 -0400 +++ b/configure.ac Tue Oct 02 11:48:14 2007 -0400 @@ -38,17 +38,17 @@ AC_ARG_WITH([ant-home], [AS_HELP_STRING([--with-ant-home], - [Ant home directory (default is /usr)])], + [Ant home directory (default is /usr/share/ant)])], [ if test "x${withval}" == x then - SYSTEM_ANT_DIR=/usr + SYSTEM_ANT_DIR=/usr/share/ant else SYSTEM_ANT_DIR=${withval} fi ], [ - SYSTEM_ANT_DIR=/usr + SYSTEM_ANT_DIR=/usr/share/ant ]) AC_SUBST(SYSTEM_ANT_DIR)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-ant.patch Tue Oct 02 11:48:14 2007 -0400 @@ -0,0 +1,21 @@ +--- lang.orig 2007-10-02 11:38:32.000000000 -0400 ++++ openjdk/langtools/make/Makefile 2007-10-02 11:38:52.000000000 -0400 +@@ -129,17 +129,7 @@ + ANT_OPTIONS += -Dfindbugs.home=$(FINDBUGS_HOME) + endif + +-ifdef ANT_HOME +- ANT = $(ANT_HOME)/bin/ant +- ifneq ($(shell test -x $(ANT) && echo OK), OK) +- $(error $(ANT) not found -- please update ANT_HOME) +- endif +-else +- ANT = ant +- ifneq ($(shell test -x "`which $(ANT)`" && echo OK), OK) +- $(error 'ant' not found -- please set ANT_HOME or put 'ant' on your PATH) +- endif +-endif ++ANT = ant + + # Default target and expected 'do everything' target + all: build