Ignore:
Timestamp:
Aug 13, 2014, 7:21:39 PM (5 years ago)
Author:
dluke@…
Message:

let reinplace work even on non-utf8 files since we're not editing non-ascii portions of the text (see #43145)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/perl5-1.0.tcl

    r122521 r123724  
    161161                if {[file isfile ${file}] && [file tail ${file}] eq "Makefile"} {
    162162                    ui_info "Fixing flags in [string map "${configure.dir}/ {}" ${file}]"
    163                     reinplace "/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/" ${file}
    164                     reinplace "/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/" ${file}
     163                    reinplace -locale C "/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/" ${file}
     164                    reinplace -locale C "/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/" ${file}
    165165                }
    166166            }
Note: See TracChangeset for help on using the changeset viewer.