Use system -W

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@83161 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Ryan Schmidt
2011-08-26 18:55:45 +00:00
parent db98031a1e
commit aa9ced5d3e
12 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ post-patch {
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"
}
}
+1 -1
View File
@@ -90,7 +90,7 @@ build {
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 {
+1 -1
View File
@@ -77,7 +77,7 @@ build {
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 {
+2 -2
View File
@@ -54,7 +54,7 @@ post-extract {
}
}
# 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 @@ patchfiles patch-version.diff \
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
}
+2 -2
View File
@@ -290,7 +290,7 @@ variant pdflib description {Add PDFlib support} {
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 @@ post-destroot {
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"
+1 -1
View File
@@ -167,7 +167,7 @@ variant pear description {Add PEAR} {
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"
+1 -1
View File
@@ -168,7 +168,7 @@ variant pear description {Add PEAR} {
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"
+1 -1
View File
@@ -333,7 +333,7 @@ variant pear description {Add PEAR} {
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"
+1 -1
View File
@@ -25,7 +25,7 @@ extract.suffix .tgz
post-extract {
copy ${filespath}/Makefile ${worksrcpath}
system "cd ${worksrcpath} && make clean"
system -W ${worksrcpath} "make clean"
}
patchfiles-append patch-qtplyr.c.diff
+1 -1
View File
@@ -71,7 +71,7 @@ post-patch {
use_configure no
build {
system "cd ${worksrcpath} && ${prefix}/bin/pod2man bbcolors > bbcolors.1"
system -W ${worksrcpath} "${prefix}/bin/pod2man bbcolors > bbcolors.1"
}
destroot {
+1 -1
View File
@@ -38,7 +38,7 @@ use_configure no
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}"
}
}
+1 -1
View File
@@ -27,7 +27,7 @@ depends_build port:autoconf \
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