[56951] trunk/dports/java/groovy/Portfile

breskeby at macports.org breskeby at macports.org
Thu Sep 3 11:21:11 PDT 2009


Revision: 56951
          http://trac.macports.org/changeset/56951
Author:   breskeby at macports.org
Date:     2009-09-03 11:21:11 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
(#21061) add patch phase to portfile which adds the memoryMaximumSize=512m property to the javac task in the build.xml

Modified Paths:
--------------
    trunk/dports/java/groovy/Portfile

Modified: trunk/dports/java/groovy/Portfile
===================================================================
--- trunk/dports/java/groovy/Portfile	2009-09-03 18:20:12 UTC (rev 56950)
+++ trunk/dports/java/groovy/Portfile	2009-09-03 18:21:11 UTC (rev 56951)
@@ -32,6 +32,9 @@
 depends_lib     bin:java:kaffe			
 use_configure   no
 worksrcdir      groovy-${version}
+patch {
+	system "sed -i 'bak' 's/<javac/<javac memoryMaximumSize=\"512m\"/g' ${workpath}/${worksrcdir}/build.xml"
+}
 build.cmd       ant
 build.target    install -DskipTests=true
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090903/4497aa97/attachment.html>


More information about the macports-changes mailing list