Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 23:32:10 +0100
From:      Herve Quiroz <hq@FreeBSD.org>
To:        andy.lavr@gmail.com
Cc:        java@FreeBSD.org
Subject:   Re: New patch ant.sh.in for FreeBSD ports devel/apache-ant
Message-ID:  <49822E6A.7020807@FreeBSD.org>
In-Reply-To: <49822AE8.9020608@FreeBSD.org>
References:  <49749D98.4080402@reactor-xg.kiev.ua>	<49779F59.6050209@FreeBSD.org>	<49784E41.7070006@reactor-xg.kiev.ua>	<4978A11A.1040408@FreeBSD.org> <49822AE8.9020608@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030008090006000906090105
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Herve Quiroz wrote:
> I believe this patch enforces the expected behavior of the mainstream
> ant(1) script.

Oops, forgot to bump PORTREVISION.

--------------030008090006000906090105
Content-Type: text/x-patch;
 name="apache-ant.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="apache-ant.diff"

? work
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/apache-ant/Makefile,v
retrieving revision 1.48
diff -u -r1.48 Makefile
--- Makefile	6 Jun 2008 13:20:59 -0000	1.48
+++ Makefile	29 Jan 2009 22:18:33 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	apache-ant
 PORTVERSION=	1.7.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel java
 MASTER_SITES=	${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:bin,} \
 		${MASTER_SITE_LOCAL:S,%SUBDIR%/,hq/:man,} \
Index: files/ant.sh.in
===================================================================
RCS file: /home/pcvs/ports/devel/apache-ant/files/ant.sh.in,v
retrieving revision 1.6
diff -u -r1.6 ant.sh.in
--- files/ant.sh.in	6 Sep 2006 21:52:18 -0000	1.6
+++ files/ant.sh.in	29 Jan 2009 22:18:33 -0000
@@ -79,4 +79,4 @@
 	exit 1
 fi
 
-exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" -Dant.home="${DATADIR}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} -lib "${CLASSPATH}" "$@"
+exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" -Dant.home="${DATADIR}" -Dant.library.dir="${ANT_LIB}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} "$@"

--------------030008090006000906090105--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49822E6A.7020807>