[98661] trunk/dports/devel/bugzilla/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Oct 12 03:59:02 PDT 2012
Revision: 98661
http://trac.macports.org//changeset/98661
Author: ryandesign at macports.org
Date: 2012-10-12 03:59:02 -0700 (Fri, 12 Oct 2012)
Log Message:
-----------
bugzilla: fix "sed: RE error: illegal byte sequence" on Mountain Lion by specifying -locale C when using reinplace (#36575)
Modified Paths:
--------------
trunk/dports/devel/bugzilla/Portfile
Modified: trunk/dports/devel/bugzilla/Portfile
===================================================================
--- trunk/dports/devel/bugzilla/Portfile 2012-10-12 09:17:42 UTC (rev 98660)
+++ trunk/dports/devel/bugzilla/Portfile 2012-10-12 10:59:02 UTC (rev 98661)
@@ -66,12 +66,12 @@
}
foreach item [glob ${worksrcpath}/*.cgi ${worksrcpath}/*.pl \
${worksrcpath}/contrib/*.pl ${worksrcpath}/docs/*.pl] {
- reinplace "s%^#!.*perl%#!${prefix}/bin/perl5.12%" ${item}
+ reinplace -locale C "s%^#!.*perl%#!${prefix}/bin/perl5.12%" ${item}
}
foreach item [glob ${worksrcpath}/*.pl ${worksrcpath}/contrib/*.pl \
${worksrcpath}/Bugzilla/*.pm ${worksrcpath}/docs/html/*.html \
${worksrcpath}/docs/txt/*.txt ${worksrcpath}/docs/xml/*.xml] {
- reinplace "s%/usr/lib/sendmail%/usr/sbin/sendmail%g" ${item}
+ reinplace -locale C "s%/usr/lib/sendmail%/usr/sbin/sendmail%g" ${item}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121012/209f0deb/attachment.html>
More information about the macports-changes
mailing list