[92199] trunk/dports/devel/ld64/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Apr 21 15:01:44 PDT 2012
Revision: 92199
https://trac.macports.org/changeset/92199
Author: jeremyhu at macports.org
Date: 2012-04-21 15:01:44 -0700 (Sat, 21 Apr 2012)
Log Message:
-----------
ld64: Make checks for LTO consistent
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2012-04-21 21:52:50 UTC (rev 92198)
+++ trunk/dports/devel/ld64/Portfile 2012-04-21 22:01:44 UTC (rev 92199)
@@ -51,7 +51,7 @@
depends_lib-append port:llvm-${llvm_version}
}
-if {(${os.arch} == "powerpc" || ${os.major} < 9)} {
+if {${os.arch} != "powerpc" && ${os.major} >= 9} {
# XCode 3.1.4
# 127.2 should work for powerpc, but it will require some build fixes.
version 85.2.1
@@ -139,7 +139,7 @@
file mkdir ${destroot}${prefix}/libexec/ld64
file copy ${destroot}${prefix}/bin/ld ${destroot}${prefix}/libexec/ld64/ld
- if {${os.major} >= 9} {
+ if {${os.arch} != "powerpc" && ${os.major} >= 9} {
system "install_name_tool -change ${prefix}/libexec/llvm-${llvm_version}/lib/libLTO.dylib \
@executable_path/../lib/libLTO.dylib ${destroot}${prefix}/libexec/ld64/ld"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120421/673ac0ab/attachment.html>
More information about the macports-changes
mailing list