[104926] trunk/dports/lang

larryv at macports.org larryv at macports.org
Thu Apr 4 21:43:09 PDT 2013


Revision: 104926
          https://trac.macports.org/changeset/104926
Author:   larryv at macports.org
Date:     2013-04-04 21:43:09 -0700 (Thu, 04 Apr 2013)
Log Message:
-----------
python*: Use "system -W" instead of "system 'cd'".

Modified Paths:
--------------
    trunk/dports/lang/python24/Portfile
    trunk/dports/lang/python25/Portfile
    trunk/dports/lang/python26/Portfile
    trunk/dports/lang/python27/Portfile
    trunk/dports/lang/python31/Portfile
    trunk/dports/lang/python32/Portfile
    trunk/dports/lang/python33/Portfile

Modified: trunk/dports/lang/python24/Portfile
===================================================================
--- trunk/dports/lang/python24/Portfile	2013-04-05 03:28:45 UTC (rev 104925)
+++ trunk/dports/lang/python24/Portfile	2013-04-05 04:43:09 UTC (rev 104926)
@@ -163,7 +163,7 @@
 platform darwin {
     post-configure {
         # See http://trac.macports.org/ticket/18376
-        system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
+        system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
     }
     if {${os.major} >= 9} {
     	configure.cppflags-append       -D__DARWIN_UNIX03
@@ -213,7 +213,7 @@
       configure.args-append   --enable-universalsdk=/
    }
    post-configure {
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    }
 }
 

Modified: trunk/dports/lang/python25/Portfile
===================================================================
--- trunk/dports/lang/python25/Portfile	2013-04-05 03:28:45 UTC (rev 104925)
+++ trunk/dports/lang/python25/Portfile	2013-04-05 04:43:09 UTC (rev 104926)
@@ -70,8 +70,8 @@
             ${worksrcpath}/Makefile.pre.in
 
         # http://trac.macports.org/ticket/21517
-        system "cd ${worksrcpath} && ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
-        system "cd ${worksrcpath} && ed - Lib/locale.py < ${filespath}/locale.py.ed"
+        system -W ${worksrcpath} "ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
+        system -W ${worksrcpath} "ed - Lib/locale.py < ${filespath}/locale.py.ed"
 }
 
 build.target            all
@@ -151,7 +151,7 @@
 platform darwin {
    post-configure {
       # See http://trac.macports.org/ticket/18376
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    }
    if {${os.major} >= 10} {
     	configure.cppflags-append   -D_DARWIN_C_SOURCE
@@ -205,7 +205,7 @@
       configure.args-append   --enable-universalsdk=${configure.sdkroot}
    }
    post-configure {
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    }
 }
 

Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile	2013-04-05 03:28:45 UTC (rev 104925)
+++ trunk/dports/lang/python26/Portfile	2013-04-05 04:43:09 UTC (rev 104926)
@@ -72,12 +72,12 @@
       ${worksrcpath}/Mac/PythonLauncher/Makefile.in
 
    # http://trac.macports.org/ticket/21517
-   system "cd ${worksrcpath} && ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
-   system "cd ${worksrcpath} && ed - Lib/locale.py < ${filespath}/locale.py.ed"
+   system -W ${worksrcpath} "ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
+   system -W ${worksrcpath} "ed - Lib/locale.py < ${filespath}/locale.py.ed"
 
    if {${os.platform} == "darwin" && ${os.major} > 9} {
       # http://trac.macports.org/ticket/21559
-      system "cd ${worksrcpath} && ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
+      system -W ${worksrcpath} "ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
    }
 }
 
@@ -134,7 +134,7 @@
 platform darwin {
    post-configure {
       # See http://trac.macports.org/ticket/18376
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    }
    post-patch {
 		if {![file exists /usr/lib/libSystemStubs.a]} {
@@ -168,7 +168,7 @@
       configure.args-append   --enable-universalsdk=/
    }
    post-configure {
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    }
 }
 

Modified: trunk/dports/lang/python27/Portfile
===================================================================
--- trunk/dports/lang/python27/Portfile	2013-04-05 03:28:45 UTC (rev 104925)
+++ trunk/dports/lang/python27/Portfile	2013-04-05 04:43:09 UTC (rev 104926)
@@ -74,7 +74,7 @@
 
     if {${os.platform} == "darwin" && ${os.major} > 9} {
         # http://trac.macports.org/ticket/21559
-        system "cd ${worksrcpath} && ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
+        system -W ${worksrcpath} "ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
     }
 }
 
@@ -131,7 +131,7 @@
 platform darwin {
     post-configure {
         # See http://trac.macports.org/ticket/18376
-        system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
+        system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
     }
     post-patch {
 		if {![file exists /usr/lib/libSystemStubs.a]} {

Modified: trunk/dports/lang/python31/Portfile
===================================================================
--- trunk/dports/lang/python31/Portfile	2013-04-05 03:28:45 UTC (rev 104925)
+++ trunk/dports/lang/python31/Portfile	2013-04-05 04:43:09 UTC (rev 104926)
@@ -117,7 +117,7 @@
 platform darwin {
    post-configure {
       # See http://trac.macports.org/ticket/18376
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    }
    post-patch {
 		if {![file exists /usr/lib/libSystemStubs.a]} {
@@ -151,7 +151,7 @@
       configure.args-append   --enable-universalsdk=/
    }
    post-configure {
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    }
 }
 

Modified: trunk/dports/lang/python32/Portfile
===================================================================
--- trunk/dports/lang/python32/Portfile	2013-04-05 03:28:45 UTC (rev 104925)
+++ trunk/dports/lang/python32/Portfile	2013-04-05 04:43:09 UTC (rev 104926)
@@ -113,7 +113,7 @@
 platform darwin {
    post-configure {
       # See http://trac.macports.org/ticket/18376
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    }
 }
 
@@ -142,7 +142,7 @@
       configure.args-append   --enable-universalsdk=/
    }
    post-configure {
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    }
 }
 

Modified: trunk/dports/lang/python33/Portfile
===================================================================
--- trunk/dports/lang/python33/Portfile	2013-04-05 03:28:45 UTC (rev 104925)
+++ trunk/dports/lang/python33/Portfile	2013-04-05 04:43:09 UTC (rev 104926)
@@ -117,7 +117,7 @@
 platform darwin {
    post-configure {
       # See http://trac.macports.org/ticket/18376
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
    }
 }
 
@@ -146,7 +146,7 @@
       configure.args-append   --enable-universalsdk=/
    }
    post-configure {
-      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
+      system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
    }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130404/8fe0eef1/attachment.html>


More information about the macports-changes mailing list