Ignore:
Timestamp:
Jun 6, 2012, 6:15:40 PM (7 years ago)
Author:
ryandesign@…
Message:

perl5-1.0.tcl: when finding Makefiles to reinplace in, make sure we find only files, not directories (#34778)

File:
1 edited

Legend:

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

    r93584 r94000  
    149149        # LDFLAGS can't be passed in (or if it can, it's not easy to figure out how)
    150150        post-configure {
    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]/'"
     151            system "find ${worksrcpath} -name Makefile -type f | xargs /usr/bin/sed -i \"\" '/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/' \;"
     152            system "find ${worksrcpath} -name Makefile -type f | xargs /usr/bin/sed -i \"\" '/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/'"
    153153        }
    154154
Note: See TracChangeset for help on using the changeset viewer.