Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2009 23:28:43 +0100
From:      Herve Quiroz <hq@FreeBSD.org>
To:        andy.lavr@gmail.com, java@FreeBSD.org
Subject:   Re: New patch ant.sh.in for FreeBSD ports devel/apache-ant
Message-ID:  <4998971B.5040400@FreeBSD.org>
In-Reply-To: <20090206105252.GA15887@herve>
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>	<4982AF30.5050400@reactor-xg.kiev.ua> <20090206105252.GA15887@herve>

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

Herve Quiroz wrote:
> Here is another patch. With this fix I managed to build java/eclipse.
> Basically, it uses the exact same command line as the mainstream Ant run
> script. I will try building openoffice as well to make sure we don't
> break any critical port but as my test machine is quite slow (celeron
> and 256MB memory) this could take a while. It already took me quite some
> time to build eclipse. Hence the delay for my reply.

I could not manage to build OpenOffice packages on my own, because my
machine just lacks memory. However, people from openoffice@ tested the
patch and the packages still build fine.

I am now working on the patches to fix depending ports (e.g.
textproc/ant-xinclude-task). You may still review the patch until I
commit it (next few days hopefully).

Oh, and BTW, I just realized I forgot to attach the patch in my last
message. So here it is.

Herve


--------------050304090606060204030000
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	15 Feb 2009 22:28:29 -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	15 Feb 2009 22:28:29 -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} -cp "${CLASSPATH}" "$@"

--------------050304090606060204030000--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4998971B.5040400>