Changeset 98661


Ignore:
Timestamp:
Oct 12, 2012, 10:59:02 AM (12 years ago)
Author:
ryandesign@…
Message:

bugzilla: fix "sed: RE error: illegal byte sequence" on Mountain Lion by specifying -locale C when using reinplace (#36575)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/bugzilla/Portfile

    r91643 r98661  
    6767        foreach item [glob ${worksrcpath}/*.cgi ${worksrcpath}/*.pl \
    6868                           ${worksrcpath}/contrib/*.pl ${worksrcpath}/docs/*.pl] {
    69                 reinplace "s%^#!.*perl%#!${prefix}/bin/perl5.12%" ${item}
     69                reinplace -locale C "s%^#!.*perl%#!${prefix}/bin/perl5.12%" ${item}
    7070        }
    7171        foreach item [glob ${worksrcpath}/*.pl ${worksrcpath}/contrib/*.pl \
    7272                           ${worksrcpath}/Bugzilla/*.pm ${worksrcpath}/docs/html/*.html \
    7373                           ${worksrcpath}/docs/txt/*.txt ${worksrcpath}/docs/xml/*.xml] {
    74                 reinplace "s%/usr/lib/sendmail%/usr/sbin/sendmail%g" ${item}
     74                reinplace -locale C "s%/usr/lib/sendmail%/usr/sbin/sendmail%g" ${item}
    7575        }
    7676}
Note: See TracChangeset for help on using the changeset viewer.