[146540] trunk/dports/devel/ld64/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Mar 11 13:37:33 PST 2016


Revision: 146540
          https://trac.macports.org/changeset/146540
Author:   jeremyhu at macports.org
Date:     2016-03-11 13:37:33 -0800 (Fri, 11 Mar 2016)
Log Message:
-----------
ld64: Fixup the copies of ld used by clang to find the toolchain-paired libLTO

Modified Paths:
--------------
    trunk/dports/devel/ld64/Portfile

Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile	2016-03-11 20:43:22 UTC (rev 146539)
+++ trunk/dports/devel/ld64/Portfile	2016-03-11 21:37:33 UTC (rev 146540)
@@ -45,7 +45,7 @@
 subport ld64-97 {
     # XCode 3.2.6
     version             97.17
-    revision            1
+    revision            2
 
     set makefile	"Makefile-97"
     set ld64_ver        97
@@ -75,7 +75,7 @@
     # XCode 4.2
     # This was the last ld64 release that supported linking ppc executables.
     version             127.2
-    revision            3
+    revision            4
 
     set makefile	"Makefile-127"
     set ld64_ver        127
@@ -97,7 +97,7 @@
 subport ld64-136 {
     # XCode 4.6
     version             136
-    revision            3
+    revision            4
 
     set makefile        "Makefile-133"
     set ld64_ver        136
@@ -125,7 +125,7 @@
 subport ld64-236 {
     # XCode 5.1
     version             236.3
-    revision            1
+    revision            2
 
     # http://trac.macports.org/ticket/43737
     # < 100 is a guess.  Xcode 4.1 might work, so I'm leaving it as an option unless someone reports a failure.
@@ -158,7 +158,7 @@
 subport ld64-latest {
     # XCode 7.0
     version             253.3
-    revision            1
+    revision            2
 
     # https://trac.macports.org/ticket/43737
     # https://trac.macports.org/ticket/50130
@@ -429,6 +429,8 @@
         if {${llvm_version} != ""} {
             system "install_name_tool -change ${prefix}/libexec/llvm-${llvm_version}/lib/libLTO.dylib \
                     @executable_path/../lib/libLTO.dylib ${destroot}${prefix}/libexec/ld64/ld-${ld64_ver}"
+            system "install_name_tool -change @rpath/libLTO.dylib \
+                    @executable_path/../lib/libLTO.dylib ${destroot}${prefix}/libexec/ld64/ld-${ld64_ver}"
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160311/94cfe2cc/attachment.html>


More information about the macports-changes mailing list