From owner-freebsd-java@FreeBSD.ORG Sun Feb 15 22:28:47 2009 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DAEB106567D for ; Sun, 15 Feb 2009 22:28:47 +0000 (UTC) (envelope-from hq@freebsd.org) Received: from 30.mail-out.ovh.net (30.mail-out.ovh.net [213.186.62.213]) by mx1.freebsd.org (Postfix) with SMTP id AA5628FC24 for ; Sun, 15 Feb 2009 22:28:46 +0000 (UTC) (envelope-from hq@freebsd.org) Received: (qmail 18120 invoked by uid 503); 15 Feb 2009 22:29:06 -0000 Received: from b7.ovh.net (HELO mail437.ha.ovh.net) (213.186.33.57) by 30.mail-out.ovh.net with SMTP; 15 Feb 2009 22:29:06 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 15 Feb 2009 22:28:47 -0000 Received: from amarseille-256-1-128-208.w90-10.abo.wanadoo.fr (HELO ?192.168.1.15?) (herve.quiroz@trancecode.org@90.10.115.208) by ns0.ovh.net with SMTP; 15 Feb 2009 22:28:46 -0000 Message-ID: <4998971B.5040400@FreeBSD.org> Date: Sun, 15 Feb 2009 23:28:43 +0100 From: Herve Quiroz User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: andy.lavr@gmail.com, java@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> <4982AF30.5050400@reactor-xg.kiev.ua> <20090206105252.GA15887@herve> In-Reply-To: <20090206105252.GA15887@herve> Content-Type: multipart/mixed; boundary="------------050304090606060204030000" X-Ovh-Tracer-Id: 10889140949664573959 X-Ovh-Remote: 90.10.115.208 (amarseille-256-1-128-208.w90-10.abo.wanadoo.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N Cc: Subject: Re: New patch ant.sh.in for FreeBSD ports devel/apache-ant X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 22:28:47 -0000 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--