"locale C" in reinplace (Was: [96139] trunk/dports/x11/lesstif/Portfile)

Craig Treleaven ctreleaven at cogeco.ca
Wed Aug 1 18:00:12 PDT 2012


Hi:

I've noticed a number of commits recently inserting "-locale C" into 
reinplace commands (example below).  Google didn't point to an 
explanation so I wonder if someone could give me a brief description?

Thanks,

Craig

>From: ryandesign at macports.org
>To: macports-changes at lists.macosforge.org
>Subject: [96139] trunk/dports/x11/lesstif/Portfile
>Date: Wed, 01 Aug 2012 15:12:46 -0700 (PDT)
>Sender: macports-changes-bounces at lists.macosforge.org
>
>Revision
>
><https://trac.macports.org/changeset/96139>96139
>Author
>
>ryandesign at macports.org
>Date
>
>2012-08-01 15:12:44 -0700 (Wed, 01 Aug 2012)
>
>Log Message
>
>lesstif: fix "reinplace: sed: RE error: illegal byte sequence" error 
>during patch phase
>
>Modified Paths
>
><>trunk/dports/x11/lesstif/Portfile
>Diff
>
>Modified: trunk/dports/x11/lesstif/Portfile (96138 => 96139)
>
>
>--- trunk/dports/x11/lesstif/Portfile	2012-08-01 21:39:23 UTC (rev 96138)
>+++ trunk/dports/x11/lesstif/Portfile	2012-08-01 22:12:44 UTC (rev 96139)
>@@ -39,8 +39,8 @@
>  	system "touch 
>${worksrcpath}/test/{NEWS,README,AUTHORS,ChangeLog,COPYING}"
>
>  	# See #18287
>-	reinplace "s:LT_HAVE_FREETYPE:FINDXFT_HAVE_FREETYPE:g" 
>${worksrcpath}/acinclude.m4
>-	reinplace "s:LT_HAVE_XRENDER:FINDXFT_HAVE_XRENDER:g" 
>${worksrcpath}/acinclude.m4
>+	reinplace -locale C 
>"s:LT_HAVE_FREETYPE:FINDXFT_HAVE_FREETYPE:g" 
>${worksrcpath}/acinclude.m4
>+	reinplace -locale C 
>"s:LT_HAVE_XRENDER:FINDXFT_HAVE_XRENDER:g" 
>${worksrcpath}/acinclude.m4
>  }
>
>  use_autoreconf yes
>
>
>_______________________________________________
>macports-changes mailing list
>macports-changes at lists.macosforge.org
>http://lists.macosforge.org/mailman/listinfo/macports-changes


-- 
--
Craig Treleaven, CA -- Clearview Consulting
(905) 829-2054  ctreleaven at cogeco.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120801/4d6cfabf/attachment.html>


More information about the macports-dev mailing list