[28890] trunk/dports

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 10 15:54:43 PDT 2007


Revision: 28890
          http://trac.macosforge.org/projects/macports/changeset/28890
Author:   sfiera at macports.org
Date:     2007-09-10 15:54:42 -0700 (Mon, 10 Sep 2007)

Log Message:
-----------
Remove cd from my ports

Modified Paths:
--------------
    trunk/dports/games/bastet/Portfile
    trunk/dports/python/py-libxml2/Portfile
    trunk/dports/python/py-libxslt/Portfile
    trunk/dports/python/py25-libxml2/Portfile

Modified: trunk/dports/games/bastet/Portfile
===================================================================
--- trunk/dports/games/bastet/Portfile	2007-09-10 22:14:25 UTC (rev 28889)
+++ trunk/dports/games/bastet/Portfile	2007-09-10 22:54:42 UTC (rev 28890)
@@ -29,8 +29,7 @@
 build.args          PREFIX=${prefix}
 
 post-patch {
-  cd ${worksrcpath}
-  reinplace "s|termio\.h|termios.h|" bast.c
+  reinplace "s|termio\.h|termios.h|" ${worksrcpath}/bast.c
 }
 
 destroot {

Modified: trunk/dports/python/py-libxml2/Portfile
===================================================================
--- trunk/dports/python/py-libxml2/Portfile	2007-09-10 22:14:25 UTC (rev 28889)
+++ trunk/dports/python/py-libxml2/Portfile	2007-09-10 22:54:42 UTC (rev 28890)
@@ -30,8 +30,7 @@
 post-destroot {
   # strip out anything related to libxslt, so py-libxml2 doesn't conflict with
   # py-libxslt
-  cd ${destroot}
-  fs-traverse file . {
+  fs-traverse file ${destroot} {
     if {[file isfile ${file}]} {
       if {[string match "*xslt*" ${file}]} {
           file delete ${file}

Modified: trunk/dports/python/py-libxslt/Portfile
===================================================================
--- trunk/dports/python/py-libxslt/Portfile	2007-09-10 22:14:25 UTC (rev 28889)
+++ trunk/dports/python/py-libxslt/Portfile	2007-09-10 22:54:42 UTC (rev 28890)
@@ -31,8 +31,7 @@
 post-destroot {
   # strip out anything not related to libxslt, so py-libxml2 doesn't conflict
   # with py-libxml2
-  cd ${destroot}
-  fs-traverse file . {
+  fs-traverse file ${destroot} {
     if {[file isfile ${file}]} {
       if {![string match "*xslt*" ${file}]} {
           file delete ${file}

Modified: trunk/dports/python/py25-libxml2/Portfile
===================================================================
--- trunk/dports/python/py25-libxml2/Portfile	2007-09-10 22:14:25 UTC (rev 28889)
+++ trunk/dports/python/py25-libxml2/Portfile	2007-09-10 22:54:42 UTC (rev 28890)
@@ -30,8 +30,7 @@
 post-destroot {
   # strip out anything related to libxslt, so py-libxml2 doesn't conflict with
   # py-libxslt
-  cd ${destroot}
-  fs-traverse file . {
+  fs-traverse file ${destroot} {
     if {[file isfile ${file}]} {
       if {[string match "*xslt*" ${file}]} {
           file delete ${file}

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


More information about the macports-changes mailing list