[96045] trunk/dports/mail/t-prot/Portfile

yeled at macports.org yeled at macports.org
Mon Jul 30 03:25:08 PDT 2012


Revision: 96045
          https://trac.macports.org/changeset/96045
Author:   yeled at macports.org
Date:     2012-07-30 03:25:07 -0700 (Mon, 30 Jul 2012)
Log Message:
-----------
fix t-prot patching on mountain lion

Modified Paths:
--------------
    trunk/dports/mail/t-prot/Portfile

Modified: trunk/dports/mail/t-prot/Portfile
===================================================================
--- trunk/dports/mail/t-prot/Portfile	2012-07-30 10:11:50 UTC (rev 96044)
+++ trunk/dports/mail/t-prot/Portfile	2012-07-30 10:25:07 UTC (rev 96045)
@@ -27,7 +27,7 @@
 use_configure       no
 
 build {
-    reinplace "s|/usr|${prefix}|g" ${worksrcpath}/t-prot
+    reinplace -locale C "s|/usr|${prefix}|g" ${worksrcpath}/t-prot
 }
 
 destroot {
@@ -58,7 +58,7 @@
 
 platform darwin {
     post-patch {
-        reinplace "s|use strict;|use strict; use Locale\:\:gettext;|g" \
+        reinplace -locale C "s|use strict;|use strict; use Locale\:\:gettext;|g" \
             ${worksrcpath}/t-prot
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120730/62ea6ea8/attachment-0001.html>


More information about the macports-changes mailing list