[97801] trunk/dports/devel/ld64/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Sep 15 23:25:03 PDT 2012
Revision: 97801
http://trac.macports.org//changeset/97801
Author: jeremyhu at macports.org
Date: 2012-09-15 23:25:02 -0700 (Sat, 15 Sep 2012)
Log Message:
-----------
ld64: Possible solution to #36026 ... ?
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2012-09-16 06:20:14 UTC (rev 97800)
+++ trunk/dports/devel/ld64/Portfile 2012-09-16 06:25:02 UTC (rev 97801)
@@ -8,7 +8,7 @@
name ld64
# XCode 4.4
version 133.3
-revision 2
+revision 3
set llvm_version 3.0
categories devel
platforms darwin
@@ -122,13 +122,20 @@
}
post-extract {
- file copy ${filespath}/${makefile} ${worksrcpath}
+ file copy ${filespath}/${makefile} ${worksrcpath}/Makefile
}
post-patch {
reinplace "s|@@VERSION@@|${version}|g" \
${worksrcpath}/src/ld/Options.cpp
+ if {${os.major} >= 11} {
+ reinplace "s|configure.h|ld-configure.h|g" \
+ ${worksrcpath}/Makefile \
+ ${worksrcpath}/src/abstraction/MachOFileAbstraction.hpp \
+ ${worksrcpath}/src/create_configure
+ }
+
if {${os.major} < 9} {
# No CommonCrypto, use openssl
reinplace "s:<CommonCrypto/CommonDigest.h>:<openssl/md5.h>:" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120915/c503e369/attachment.html>
More information about the macports-changes
mailing list