[123724] trunk/dports/_resources/port1.0/group/perl5-1.0.tcl

dluke at macports.org dluke at macports.org
Wed Aug 13 12:21:39 PDT 2014


Revision: 123724
          https://trac.macports.org/changeset/123724
Author:   dluke at macports.org
Date:     2014-08-13 12:21:39 -0700 (Wed, 13 Aug 2014)
Log Message:
-----------
let reinplace work even on non-utf8 files since we're not editing non-ascii portions of the text (see #43145)

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/perl5-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2014-08-13 19:08:55 UTC (rev 123723)
+++ trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2014-08-13 19:21:39 UTC (rev 123724)
@@ -160,8 +160,8 @@
             fs-traverse file ${configure.dir} {
                 if {[file isfile ${file}] && [file tail ${file}] eq "Makefile"} {
                     ui_info "Fixing flags in [string map "${configure.dir}/ {}" ${file}]"
-                    reinplace "/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/" ${file}
-                    reinplace "/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/" ${file}
+                    reinplace -locale C "/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/" ${file}
+                    reinplace -locale C "/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/" ${file}
                 }
             }
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140813/fdadd147/attachment.html>


More information about the macports-changes mailing list