[80308] trunk/dports/devel/ld64/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Jul 8 17:16:09 PDT 2011
Revision: 80308
http://trac.macports.org/changeset/80308
Author: ryandesign at macports.org
Date: 2011-07-08 17:16:09 -0700 (Fri, 08 Jul 2011)
Log Message:
-----------
ld64: avoid hardcoded /Developer dir; see #29082
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2011-07-09 00:11:26 UTC (rev 80307)
+++ trunk/dports/devel/ld64/Portfile 2011-07-09 00:16:09 UTC (rev 80308)
@@ -40,6 +40,8 @@
xcode.destroot.path ${prefix}/bin
post-patch {
+ reinplace {s|/Developer/usr/lib|$(DEVELOPER_DIR)/usr/lib|g} \
+ ${worksrcpath}/ld64.xcodeproj/project.pbxproj
reinplace "s|/usr/share/man/man1|${prefix}/share/man/man1|g" \
${worksrcpath}/ld64.xcodeproj/project.pbxproj
reinplace "s|/Developer/usr/local|${prefix}|g" \
@@ -95,6 +97,8 @@
file rename ${workpath}/libunwind/src ${workpath}/libunwind/include/libunwind
copy ${distpath}/dyld_priv.h ${workpath}/libunwind/include/mach-o/
copy ${distpath}/reloc.h ${workpath}/libunwind/include/mach-o/arm/
+ reinplace {s|/Developer/usr/lib|$(DEVELOPER_DIR)/usr/lib|g} \
+ ${worksrcpath}/ld64.xcodeproj/project.pbxproj
reinplace "s|/usr/share/man/man1|${prefix}/share/man/man1|g" \
${worksrcpath}/ld64.xcodeproj/project.pbxproj
reinplace "s|usr/share/man/man1|${prefix}/share/man/man1|g" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110708/4b93563b/attachment.html>
More information about the macports-changes
mailing list