Revision
111784
Author
jmr@macports.org
Date
2013-10-01 10:24:50 -0700 (Tue, 01 Oct 2013)

Log Message

latex2man: reinplace locale is needed for the script too

Modified Paths

Diff

Modified: trunk/dports/textproc/latex2man/Portfile (111783 => 111784)


--- trunk/dports/textproc/latex2man/Portfile	2013-10-01 17:16:02 UTC (rev 111783)
+++ trunk/dports/textproc/latex2man/Portfile	2013-10-01 17:24:50 UTC (rev 111784)
@@ -35,7 +35,7 @@
                 reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" ${worksrcpath}/Makefile
                 reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" ${worksrcpath}/Makefile
                 reinplace -locale en_US.ISO8859-1 "s|\$(HOME)|${destroot}${prefix}|g" ${worksrcpath}/Makefile
-                reinplace "s|/usr/bin/env perl|${prefix}/bin/perl|" ${worksrcpath}/latex2man
+                reinplace -locale en_US.ISO8859-1 "s|/usr/bin/env perl|${prefix}/bin/perl|" ${worksrcpath}/latex2man
 }
 
 # 'make install' first cleans, so no point in doing any build