[83161] trunk/dports

ryandesign at macports.org ryandesign at macports.org
Fri Aug 26 11:55:46 PDT 2011


Revision: 83161
          http://trac.macports.org/changeset/83161
Author:   ryandesign at macports.org
Date:     2011-08-26 11:55:45 -0700 (Fri, 26 Aug 2011)
Log Message:
-----------
Use system -W

Modified Paths:
--------------
    trunk/dports/aqua/vineserver/Portfile
    trunk/dports/games/mystonline-cider/Portfile
    trunk/dports/games/mystonline-wine/Portfile
    trunk/dports/graphics/graphviz-oldgui/Portfile
    trunk/dports/lang/php4/Portfile
    trunk/dports/lang/php5/Portfile
    trunk/dports/lang/php5-devel/Portfile
    trunk/dports/lang/php52/Portfile
    trunk/dports/multimedia/quickascii/Portfile
    trunk/dports/sysutils/bbcolors/Portfile
    trunk/dports/sysutils/isightcapture/Portfile
    trunk/dports/www/tidy/Portfile

Modified: trunk/dports/aqua/vineserver/Portfile
===================================================================
--- trunk/dports/aqua/vineserver/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/aqua/vineserver/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -45,7 +45,7 @@
         Japanese utf-8
     }
     foreach {language encoding} ${language_encodings} {
-        system "cd ${worksrcpath}/${language}.lproj && cp -p Localizable.strings Localizable.strings.orig && ${prefix}/bin/iconv -f ${encoding} -t utf-16 Localizable.strings.orig > Localizable.strings"
+        system -W ${worksrcpath}/${language}.lproj "cp -p Localizable.strings Localizable.strings.orig && ${prefix}/bin/iconv -f ${encoding} -t utf-16 Localizable.strings.orig > Localizable.strings"
     }
 }
 

Modified: trunk/dports/games/mystonline-cider/Portfile
===================================================================
--- trunk/dports/games/mystonline-cider/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/games/mystonline-cider/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -90,7 +90,7 @@
     ln -s ${assets_dir}/TOS.txt ${tos}
     
     # Build the chown wrapper program
-    system "cd ${worksrcpath} && ${configure.cc} ${configure.cc_archflags} chown-data.c -o chown-data"
+    system -W ${worksrcpath} "${configure.cc} ${configure.cc_archflags} chown-data.c -o chown-data"
 }
 
 destroot {

Modified: trunk/dports/games/mystonline-wine/Portfile
===================================================================
--- trunk/dports/games/mystonline-wine/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/games/mystonline-wine/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -77,7 +77,7 @@
     ln -s ${assets_dir} "${program_files}/Uru Live"
     
     # Build the chown wrapper program
-    system "cd ${worksrcpath} && ${configure.cc} ${configure.cc_archflags} chown-data.c -o chown-data"
+    system -W ${worksrcpath} "${configure.cc} ${configure.cc_archflags} chown-data.c -o chown-data"
 }
 
 destroot {

Modified: trunk/dports/graphics/graphviz-oldgui/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-oldgui/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/graphics/graphviz-oldgui/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -54,7 +54,7 @@
         }
     }
     # Convert the strings from UTF-16 to UTF-8 so that we can patch them.
-    system "cd ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj && ${prefix}/bin/iconv -f utf-16 -t utf-8 InfoPlist.strings > InfoPlist.strings.utf8"
+    system -W ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj "${prefix}/bin/iconv -f utf-16 -t utf-8 InfoPlist.strings > InfoPlist.strings.utf8"
 }
 
 patchfiles                      patch-version.diff \
@@ -62,7 +62,7 @@
 
 post-patch {
     # Convert the strings back to UTF-16 which is what Mac OS X expects.
-    system "cd ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj && ${prefix}/bin/iconv -f utf-8 -t utf-16 InfoPlist.strings.utf8 > InfoPlist.strings"
+    system -W ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj "${prefix}/bin/iconv -f utf-8 -t utf-16 InfoPlist.strings.utf8 > InfoPlist.strings"
     delete ${worksrcpath}/Graphviz.app/Contents/Resources/English.lproj/InfoPlist.strings.utf8
 }
 

Modified: trunk/dports/lang/php4/Portfile
===================================================================
--- trunk/dports/lang/php4/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/lang/php4/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -290,7 +290,7 @@
                                 rmd160  a74d2bba8985bd85fbd61589450c591665663906
     post-extract {
         delete ${worksrcpath}/ext/pdf
-        system "cd ${workpath} && /usr/bin/gnutar --no-same-owner -xzf ${distpath}/${pdflib_distfile}"
+        system -W ${workpath} "/usr/bin/gnutar --no-same-owner -xzf ${distpath}/${pdflib_distfile}"
         move ${workpath}/${pdflib_distname} ${worksrcpath}/ext/pdf
     }
     depends_lib-append          port:pdflib
@@ -399,7 +399,7 @@
     reinplace "s|${prefix}/bin/php|${prefix}/bin/php4|g" ${destroot}${prefix}/bin/pear4
     
     #nuke pear-stuff in ${destroot}
-    system "cd ${destroot} && rm -rf .channels .depdb .depdblock .filemap .lock"
+    system -W ${destroot} "rm -rf .channels .depdb .depdblock .filemap .lock"
     
     system "if \[ -f ${prefix}/lib/php4/.depdblock \]; then rm -f ${destroot}${prefix}/lib/php4/.depdblock; fi"
     system "if \[ -f ${prefix}/lib/php4/.depdb \]; then rm -f ${destroot}${prefix}/lib/php4/.depdb; fi"

Modified: trunk/dports/lang/php5/Portfile
===================================================================
--- trunk/dports/lang/php5/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/lang/php5/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -168,7 +168,7 @@
         PHP_PEAR_INSTALL_DIR=${prefix}/lib/php
     post-destroot {
         #nuke pear-stuff in ${destroot}
-        system "cd ${destroot} && rm -rf .channels .depdb .depdblock .filemap .lock"
+        system -W ${destroot} "rm -rf .channels .depdb .depdblock .filemap .lock"
         
         system "if \[ -f ${prefix}/lib/php/.depdblock \]; then rm -f ${destroot}${prefix}/lib/php/.depdblock; fi"
         system "if \[ -f ${prefix}/lib/php/.depdb \]; then rm -f ${destroot}${prefix}/lib/php/.depdb; fi"

Modified: trunk/dports/lang/php5-devel/Portfile
===================================================================
--- trunk/dports/lang/php5-devel/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/lang/php5-devel/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -167,7 +167,7 @@
         PHP_PEAR_INSTALL_DIR=${prefix}/lib/php
     post-destroot {
         #nuke pear-stuff in ${destroot}
-        system "cd ${destroot} && rm -rf .channels .depdb .depdblock .filemap .lock"
+        system -W ${destroot} "rm -rf .channels .depdb .depdblock .filemap .lock"
         
         system "if \[ -f ${prefix}/lib/php/.depdblock \]; then rm -f ${destroot}${prefix}/lib/php/.depdblock; fi"
         system "if \[ -f ${prefix}/lib/php/.depdb \]; then rm -f ${destroot}${prefix}/lib/php/.depdb; fi"

Modified: trunk/dports/lang/php52/Portfile
===================================================================
--- trunk/dports/lang/php52/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/lang/php52/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -333,7 +333,7 @@
         PHP_PEAR_INSTALL_DIR=${prefix}/lib/php
     post-destroot {
         #nuke pear-stuff in ${destroot}
-        system "cd ${destroot} && rm -rf .channels .depdb .depdblock .filemap .lock"
+        system -W ${destroot} "rm -rf .channels .depdb .depdblock .filemap .lock"
         
         system "if \[ -f ${prefix}/lib/php/.depdblock \]; then rm -f ${destroot}${prefix}/lib/php/.depdblock; fi"
         system "if \[ -f ${prefix}/lib/php/.depdb \]; then rm -f ${destroot}${prefix}/lib/php/.depdb; fi"

Modified: trunk/dports/multimedia/quickascii/Portfile
===================================================================
--- trunk/dports/multimedia/quickascii/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/multimedia/quickascii/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -25,7 +25,7 @@
 
 post-extract {
     copy ${filespath}/Makefile ${worksrcpath}
-    system "cd ${worksrcpath} && make clean"
+    system -W ${worksrcpath} "make clean"
 }
 
 patchfiles-append       patch-qtplyr.c.diff

Modified: trunk/dports/sysutils/bbcolors/Portfile
===================================================================
--- trunk/dports/sysutils/bbcolors/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/sysutils/bbcolors/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -71,7 +71,7 @@
 use_configure               no
 
 build {
-    system "cd ${worksrcpath} && ${prefix}/bin/pod2man bbcolors > bbcolors.1"
+    system -W ${worksrcpath} "${prefix}/bin/pod2man bbcolors > bbcolors.1"
 }
 
 destroot {

Modified: trunk/dports/sysutils/isightcapture/Portfile
===================================================================
--- trunk/dports/sysutils/isightcapture/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/sysutils/isightcapture/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -38,7 +38,7 @@
 
 build {
     if {![variant_isset universal]} {
-        system "cd ${worksrcpath} && lipo -extract ${configure.build_arch} ${name} -output ${name}"
+        system -W ${worksrcpath} "lipo -extract ${configure.build_arch} ${name} -output ${name}"
     }
 }
 

Modified: trunk/dports/www/tidy/Portfile
===================================================================
--- trunk/dports/www/tidy/Portfile	2011-08-26 18:50:49 UTC (rev 83160)
+++ trunk/dports/www/tidy/Portfile	2011-08-26 18:55:45 UTC (rev 83161)
@@ -27,7 +27,7 @@
                         port:libtool
 
 pre-configure {
-    system "cd ${worksrcpath} && /bin/sh ${worksrcpath}/build/gnuauto/setup.sh"
+    system -W ${worksrcpath} "/bin/sh ${worksrcpath}/build/gnuauto/setup.sh"
 }
 
 use_parallel_build      yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110826/63332a1d/attachment-0001.html>


More information about the macports-changes mailing list