Ignore:
Timestamp:
Apr 11, 2012, 7:41:37 PM (7 years ago)
Author:
jeremyhu@…
Message:

perl5: Use /usr/bin/sed instead of gsed

File:
1 edited

Legend:

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

    r91809 r91840  
    148148        # CCFLAGS can be passed in to "configure" but it's not necessarilary inherited
    149149        # LDFLAGS can't be passed in (or if it can, it's not easy to figure out how)
    150         depends_build port:gsed
    151150        post-configure {
    152             system "find ${worksrcpath} -name Makefile | xargs ${prefix}/bin/gsed -i '/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/' \;"
    153             system "find ${worksrcpath} -name Makefile | xargs ${prefix}/bin/gsed -i '/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/'"
     151            system "find ${worksrcpath} -name Makefile | xargs /usr/bin/sed -i \"\" '/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/' \;"
     152            system "find ${worksrcpath} -name Makefile | xargs /usr/bin/sed -i \"\" '/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/'"
    154153        }
    155154
Note: See TracChangeset for help on using the changeset viewer.