Why doesn't our reinplace macro simply add the "-locale C"?
> httrack: fix "reinplace: sed: RE error: illegal byte sequence" (#35517)
>
> --- trunk/dports/net/httrack/Portfile 2012-08-03 14:13:55 UTC (rev 96200)
> +++ trunk/dports/net/httrack/Portfile 2012-08-03 19:24:44 UTC (rev 96201)
>
> @@ -26,7 +26,7 @@
>
> patch-src-webhttrack.diff
>
>
>
> post-patch {
>
> - reinplace "s|@PREFIX@|${prefix}|g" \
>
> + reinplace -locale C "s|@PREFIX@|${prefix}|g" \
>
> ${worksrcpath}/src/htsweb.c \
>
> ${worksrcpath}/src/webhttrack
>
> }
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev