[127037] trunk/dports/www/privoxy/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Oct 19 13:26:05 PDT 2014


Revision: 127037
          https://trac.macports.org/changeset/127037
Author:   ryandesign at macports.org
Date:     2014-10-19 13:26:05 -0700 (Sun, 19 Oct 2014)
Log Message:
-----------
privoxy: use system's -W argument where applicable

Modified Paths:
--------------
    trunk/dports/www/privoxy/Portfile

Modified: trunk/dports/www/privoxy/Portfile
===================================================================
--- trunk/dports/www/privoxy/Portfile	2014-10-19 20:23:39 UTC (rev 127036)
+++ trunk/dports/www/privoxy/Portfile	2014-10-19 20:26:05 UTC (rev 127037)
@@ -42,7 +42,7 @@
         configure.args-append   --with-user=${privoxyUser} \
                                 --with-group=${privoxyGroup}
     }
-    system "cd ${worksrcpath} && autoheader"
+    system -W ${worksrcpath} "autoheader"
 }
 
 use_autoconf        yes
@@ -67,7 +67,7 @@
         xinstall -m 755 -W ${worksrcpath} privoxy-generic.init \
             ${destroot}${prefix}/etc/rc.d/privoxy.sh
         
-        system "cd ${destroot}${prefix}/etc/rc.d && patch -p0 < ${filespath}/patch-privoxy.sh.diff"
+        system -W ${destroot}${prefix}/etc/rc.d "patch -p0 < ${filespath}/patch-privoxy.sh.diff"
         reinplace "s|@@PREFIX@@|${prefix}|g" \
             ${destroot}${prefix}/etc/rc.d/privoxy.sh
         if {[existsuser ${privoxyUser}] != 0} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141019/e63bbc01/attachment-0001.html>


More information about the macports-changes mailing list