[28981] trunk/dports/archivers/pbzip2/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 12 14:35:33 PDT 2007


Revision: 28981
          http://trac.macosforge.org/projects/macports/changeset/28981
Author:   nox at macports.org
Date:     2007-09-12 14:35:33 -0700 (Wed, 12 Sep 2007)

Log Message:
-----------
pbzip2: Removed cd calls.

Modified Paths:
--------------
    trunk/dports/archivers/pbzip2/Portfile

Modified: trunk/dports/archivers/pbzip2/Portfile
===================================================================
--- trunk/dports/archivers/pbzip2/Portfile	2007-09-12 21:34:57 UTC (rev 28980)
+++ trunk/dports/archivers/pbzip2/Portfile	2007-09-12 21:35:33 UTC (rev 28981)
@@ -25,10 +25,8 @@
 set CFLAGS      "${configure.ldflags} ${configure.cppflags}"
 
 configure {
-    cd ${worksrcpath}
-
-    reinplace "s|-pthread -lpthread|${CFLAGS}|" Makefile
-    reinplace "s|man|share/man|" Makefile
+    reinplace "s|-pthread -lpthread|${CFLAGS}|" ${worksrcpath}/Makefile
+    reinplace "s|man|share/man|" ${worksrcpath}/Makefile
 }
 
 destroot.destdir    PREFIX=${destroot}${prefix}

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


More information about the macports-changes mailing list