[30971] trunk/dports/devel/xmlwrapp/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 12 07:31:31 PST 2007


Revision: 30971
          http://trac.macosforge.org/projects/macports/changeset/30971
Author:   stechert at macports.org
Date:     2007-11-12 07:31:30 -0800 (Mon, 12 Nov 2007)

Log Message:
-----------
Removing the use of cd keyword from this Portfile, squeaking it in before the svn/trac shutdown :-)

Modified Paths:
--------------
    trunk/dports/devel/xmlwrapp/Portfile

Modified: trunk/dports/devel/xmlwrapp/Portfile
===================================================================
--- trunk/dports/devel/xmlwrapp/Portfile	2007-11-12 15:06:10 UTC (rev 30970)
+++ trunk/dports/devel/xmlwrapp/Portfile	2007-11-12 15:31:30 UTC (rev 30971)
@@ -31,17 +31,17 @@
 configure {
 	cd ${worksrcpath}
 
-	system "perl configure.pl --xml2-config=${prefix}/bin/xml2-config --xslt-config=${prefix}/bin/xslt-config --prefix=${prefix}"
+	system "cd ${worksrcpath} && perl configure.pl --xml2-config=${prefix}/bin/xml2-config --xslt-config=${prefix}/bin/xslt-config --prefix=${prefix}"
 
-	reinplace "s#POST_LDFLAGS=#POST_LDFLAGS=-L${prefix}/lib -lxml2 -lz -lpthread -liconv -lm -lxslt#" src/libxml/Makefile
-	reinplace "s#libxmlwrapp.so#libxmlwrapp.dylib#g" src/libxml/Makefile
+	reinplace "s#POST_LDFLAGS=#POST_LDFLAGS=-L${prefix}/lib -lxml2 -lz -lpthread -liconv -lm -lxslt#" ${worksrcpath}/src/libxml/Makefile
+	reinplace "s#libxmlwrapp.so#libxmlwrapp.dylib#g" ${worksrcpath}/src/libxml/Makefile
 
-	reinplace "s#POST_LDFLAGS=#POST_LDFLAGS=-L${prefix}/lib -lxml2 -lz -lpthread -liconv -lm -lxslt -lexslt -L../libxml -lxmlwrapp#" src/libxslt/Makefile
-	reinplace "s#libxsltwrapp.so#libxsltwrapp.dylib#g" src/libxslt/Makefile
+	reinplace "s#POST_LDFLAGS=#POST_LDFLAGS=-L${prefix}/lib -lxml2 -lz -lpthread -liconv -lm -lxslt -lexslt -L../libxml -lxmlwrapp#" ${worksrcpath}/src/libxslt/Makefile
+	reinplace "s#libxsltwrapp.so#libxsltwrapp.dylib#g" ${worksrcpath}/src/libxslt/Makefile
 
-	reinplace "s#libxmlwrapp.so.5#libxmlwrapp.5.dylib#g" Makefile
-	reinplace "s#libxmlwrapp.so#libxmlwrapp.dylib#g" Makefile
+	reinplace "s#libxmlwrapp.so.5#libxmlwrapp.5.dylib#g" ${worksrcpath}/Makefile
+	reinplace "s#libxmlwrapp.so#libxmlwrapp.dylib#g" ${worksrcpath}/Makefile
 
-	reinplace "s#libxsltwrapp.so.2#libxsltwrapp.2.dylib#g" Makefile
-	reinplace "s#libxsltwrapp.so#libxsltwrapp.dylib#g" Makefile
+	reinplace "s#libxsltwrapp.so.2#libxsltwrapp.2.dylib#g" ${worksrcpath}/Makefile
+	reinplace "s#libxsltwrapp.so#libxsltwrapp.dylib#g" ${worksrcpath}/Makefile
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071112/bfa8351d/attachment.html


More information about the macports-changes mailing list