[111983] trunk/dports/devel/cvsweb/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Oct 7 20:49:02 PDT 2013
Revision: 111983
https://trac.macports.org/changeset/111983
Author: ryandesign at macports.org
Date: 2013-10-07 20:49:02 -0700 (Mon, 07 Oct 2013)
Log Message:
-----------
cvsweb: indicate locale in reinplace to fix build on Mountain Lion and later (#40693); supported_archs noarch; destroot.violate_mtree yes
Modified Paths:
--------------
trunk/dports/devel/cvsweb/Portfile
Modified: trunk/dports/devel/cvsweb/Portfile
===================================================================
--- trunk/dports/devel/cvsweb/Portfile 2013-10-08 02:24:03 UTC (rev 111982)
+++ trunk/dports/devel/cvsweb/Portfile 2013-10-08 03:49:02 UTC (rev 111983)
@@ -7,6 +7,8 @@
revision 1
categories devel www
maintainers nomaintainer
+supported_archs noarch
+
description WWW interface for CVS repositories
long_description \
FreeBSD-CVSweb is a WWW CGI script that allows remote users to \
@@ -45,6 +47,8 @@
}
+destroot.violate_mtree yes
+
destroot {
file mkdir ${destroot}${cgi_path}
file mkdir ${destroot}${httpd_conf_path}
@@ -55,10 +59,10 @@
eval xinstall -m 755 [glob ${worksrcpath}/icons/*] ${destroot}${icons_path}
eval xinstall -m 755 [glob ${worksrcpath}/css/*] ${destroot}${css_path}
- reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl5.12|g" \
+ reinplace -locale en_US.ISO8859-1 "s|#!/usr/bin/perl|#!${prefix}/bin/perl5.12|g" \
"${destroot}${cgi_path}/cvsweb.cgi"
- reinplace "s|/usr/local/etc/cvsweb/cvsweb.conf|${httpd_conf_path}cvsweb.conf|g" \
+ reinplace -locale en_US.ISO8859-1 "s|/usr/local/etc/cvsweb/cvsweb.conf|${httpd_conf_path}cvsweb.conf|g" \
"${destroot}${cgi_path}/cvsweb.cgi"
- reinplace "s|/bin /usr/bin /usr/local/bin|/bin /usr/bin /usr/local/bin ${prefix}/bin ${prefix}/sbin|g" \
+ reinplace -locale en_US.ISO8859-1 "s|/bin /usr/bin /usr/local/bin|/bin /usr/bin /usr/local/bin ${prefix}/bin ${prefix}/sbin|g" \
"${destroot}${cgi_path}/cvsweb.cgi"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131007/b77e5f67/attachment-0001.html>
More information about the macports-changes
mailing list