[96201] trunk/dports/net/httrack/Portfile

Jeremy Lavergne jeremy at lavergne.gotdns.org
Fri Aug 3 14:51:45 PDT 2012


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
> 
>  }



More information about the macports-dev mailing list