[94471] trunk/dports/devel/cctools/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jun 19 20:28:09 PDT 2012
Revision: 94471
https://trac.macports.org/changeset/94471
Author: ryandesign at macports.org
Date: 2012-06-19 20:28:08 -0700 (Tue, 19 Jun 2012)
Log Message:
-----------
cctools: fix build when prefix is /usr/local (#34901)
Modified Paths:
--------------
trunk/dports/devel/cctools/Portfile
Modified: trunk/dports/devel/cctools/Portfile
===================================================================
--- trunk/dports/devel/cctools/Portfile 2012-06-20 03:08:14 UTC (rev 94470)
+++ trunk/dports/devel/cctools/Portfile 2012-06-20 03:28:08 UTC (rev 94471)
@@ -77,8 +77,9 @@
}
foreach file [glob ${worksrcpath}/{*/,}Makefile] {
- reinplace "s:/usr/local:${prefix}:g" ${file}
- reinplace "s:/usr:${prefix}:g" ${file}
+ reinplace "s:/usr/local:@PREFIX@:g" ${file}
+ reinplace "s:/usr:@PREFIX@:g" ${file}
+ reinplace "s:@PREFIX@:${prefix}:g" ${file}
reinplace "s:${prefix}/efi:${prefix}:g" ${file}
reinplace "s:/Developer${prefix}:${prefix}:g" ${file}
reinplace "s:${prefix}/man:${prefix}/share/man:g" ${file}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120619/2aadbab5/attachment-0001.html>
More information about the macports-changes
mailing list