Ignore:
Timestamp:
Aug 21, 2013, 5:21:14 PM (6 years ago)
Author:
jeremyhu@…
Message:

muniversal: Make arch flags stripping global

File:
1 edited

Legend:

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

    r109861 r109904  
    466466            copy ${dir2}/${fl} ${tempfile2}
    467467
    468             reinplace {s:-arch  *[^ ][^ ]*::} ${tempfile1} ${tempfile2}
    469             reinplace {s:-m32::} ${tempfile1} ${tempfile2}
    470             reinplace {s:-m64::} ${tempfile1} ${tempfile2}
     468            reinplace -E {s:-arch +[^ ]+::g} ${tempfile1} ${tempfile2}
     469            reinplace {s:-m32::g} ${tempfile1} ${tempfile2}
     470            reinplace {s:-m64::g} ${tempfile1} ${tempfile2}
    471471
    472472            if { ! [catch {system "/usr/bin/cmp -s \"${tempfile1}\" \"${tempfile2}\""}] } {
Note: See TracChangeset for help on using the changeset viewer.