Revision
99321
Author
ryandesign@macports.org
Date
2012-10-31 23:03:59 -0700 (Wed, 31 Oct 2012)

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/erlang/tsung/Portfile (99320 => 99321)


--- trunk/dports/erlang/tsung/Portfile	2012-11-01 03:14:40 UTC (rev 99320)
+++ trunk/dports/erlang/tsung/Portfile	2012-11-01 06:03:59 UTC (rev 99321)
@@ -35,7 +35,7 @@
 build.target        all doc
 
 post-patch {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|" \
+    reinplace -locale C "s|/usr/bin/perl|${prefix}/bin/perl5.12|" \
         ${worksrcpath}/src/tsung-rrd.pl.in \
         ${worksrcpath}/src/tsung_stats.pl.in
     reinplace "s|/usr/bin/env perl|${prefix}/bin/perl5.12|" \