[32649] trunk/dports/textproc/csv2xml/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 10 03:55:40 PST 2008


Revision: 32649
          http://trac.macosforge.org/projects/macports/changeset/32649
Author:   ryandesign at macports.org
Date:     2008-01-10 03:55:36 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
csv2xml: don't use deprecated 'cd' command; closes #13862

Modified Paths:
--------------
    trunk/dports/textproc/csv2xml/Portfile

Modified: trunk/dports/textproc/csv2xml/Portfile
===================================================================
--- trunk/dports/textproc/csv2xml/Portfile	2008-01-10 11:53:30 UTC (rev 32648)
+++ trunk/dports/textproc/csv2xml/Portfile	2008-01-10 11:55:36 UTC (rev 32649)
@@ -16,7 +16,6 @@
 use_bzip2		yes
 
 configure	{
-	cd ${worksrcpath}
-	reinplace "s|/usr/local|\${DESTDIR}${prefix}|g" src/Makefile
-	reinplace "s|/usr/local/man|\${DESTDIR}${prefix}/share/man|g" man/Makefile
+	reinplace "s|/usr/local|\${DESTDIR}${prefix}|g" ${worksrcpath}/src/Makefile
+	reinplace "s|/usr/local/man|\${DESTDIR}${prefix}/share/man|g" ${worksrcpath}/man/Makefile
 }

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


More information about the macports-changes mailing list