[146522] trunk/dports/devel/ld64

jeremyhu at macports.org jeremyhu at macports.org
Thu Mar 10 12:46:16 PST 2016


Revision: 146522
          https://trac.macports.org/changeset/146522
Author:   jeremyhu at macports.org
Date:     2016-03-10 12:46:16 -0800 (Thu, 10 Mar 2016)
Log Message:
-----------
ld64: Setup rpath to find libLTO (#50853)

Modified Paths:
--------------
    trunk/dports/devel/ld64/Portfile
    trunk/dports/devel/ld64/files/Makefile-127
    trunk/dports/devel/ld64/files/Makefile-133
    trunk/dports/devel/ld64/files/Makefile-253
    trunk/dports/devel/ld64/files/Makefile-97

Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile	2016-03-10 19:30:30 UTC (rev 146521)
+++ trunk/dports/devel/ld64/Portfile	2016-03-10 20:46:16 UTC (rev 146522)
@@ -45,6 +45,7 @@
 subport ld64-97 {
     # XCode 3.2.6
     version             97.17
+    revision            1
 
     set makefile	"Makefile-97"
     set ld64_ver        97
@@ -74,7 +75,7 @@
     # XCode 4.2
     # This was the last ld64 release that supported linking ppc executables.
     version             127.2
-    revision            2
+    revision            3
 
     set makefile	"Makefile-127"
     set ld64_ver        127
@@ -96,7 +97,7 @@
 subport ld64-136 {
     # XCode 4.6
     version             136
-    revision            2
+    revision            3
 
     set makefile        "Makefile-133"
     set ld64_ver        136
@@ -124,6 +125,7 @@
 subport ld64-236 {
     # XCode 5.1
     version             236.3
+    revision            1
 
     # 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.
@@ -156,6 +158,7 @@
 subport ld64-latest {
     # XCode 7.0
     version             253.3
+    revision            1
 
     # https://trac.macports.org/ticket/43737
     # https://trac.macports.org/ticket/50130

Modified: trunk/dports/devel/ld64/files/Makefile-127
===================================================================
--- trunk/dports/devel/ld64/files/Makefile-127	2016-03-10 19:30:30 UTC (rev 146521)
+++ trunk/dports/devel/ld64/files/Makefile-127	2016-03-10 20:46:16 UTC (rev 146522)
@@ -1,6 +1,6 @@
 ifdef LLVM_CONFIG
 LLVM_CPPFLAGS := -I$(shell $(LLVM_CONFIG) --includedir) -DLTO_SUPPORT
-LLVM_LDFLAGS := -L$(shell $(LLVM_CONFIG) --libdir) -lLTO
+LLVM_LDFLAGS := -L$(shell $(LLVM_CONFIG) --libdir) -Wl,-rpath,$(shell $(LLVM_CONFIG) --libdir) -lLTO
 endif
 
 CPPFLAGS = $(LLVM_CPPFLAGS) -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers $(OTHER_CPPFLAGS)

Modified: trunk/dports/devel/ld64/files/Makefile-133
===================================================================
--- trunk/dports/devel/ld64/files/Makefile-133	2016-03-10 19:30:30 UTC (rev 146521)
+++ trunk/dports/devel/ld64/files/Makefile-133	2016-03-10 20:46:16 UTC (rev 146522)
@@ -1,6 +1,6 @@
 ifdef LLVM_CONFIG
 LLVM_CPPFLAGS := -I$(shell $(LLVM_CONFIG) --includedir) -DLTO_SUPPORT
-LLVM_LDFLAGS := -L$(shell $(LLVM_CONFIG) --libdir) -lLTO
+LLVM_LDFLAGS := -L$(shell $(LLVM_CONFIG) --libdir) -Wl,-rpath,$(shell $(LLVM_CONFIG) --libdir) -lLTO
 endif
 
 CPPFLAGS = $(LLVM_CPPFLAGS) -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers $(OTHER_CPPFLAGS)

Modified: trunk/dports/devel/ld64/files/Makefile-253
===================================================================
--- trunk/dports/devel/ld64/files/Makefile-253	2016-03-10 19:30:30 UTC (rev 146521)
+++ trunk/dports/devel/ld64/files/Makefile-253	2016-03-10 20:46:16 UTC (rev 146522)
@@ -1,6 +1,6 @@
 ifdef LLVM_CONFIG
 LLVM_CPPFLAGS := -I$(shell $(LLVM_CONFIG) --includedir) -DLTO_SUPPORT
-LLVM_LDFLAGS := -L$(shell $(LLVM_CONFIG) --libdir) -lLTO
+LLVM_LDFLAGS := -L$(shell $(LLVM_CONFIG) --libdir) -Wl,-rpath,$(shell $(LLVM_CONFIG) --libdir) -lLTO
 endif
 
 CPPFLAGS = $(LLVM_CPPFLAGS) -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers $(OTHER_CPPFLAGS)

Modified: trunk/dports/devel/ld64/files/Makefile-97
===================================================================
--- trunk/dports/devel/ld64/files/Makefile-97	2016-03-10 19:30:30 UTC (rev 146521)
+++ trunk/dports/devel/ld64/files/Makefile-97	2016-03-10 20:46:16 UTC (rev 146522)
@@ -1,6 +1,6 @@
 ifdef LLVM_CONFIG
 LLVM_CPPFLAGS := -I$(shell $(LLVM_CONFIG) --includedir) -DLTO_SUPPORT
-LLVM_LDFLAGS := -L$(shell $(LLVM_CONFIG) --libdir) -lLTO
+LLVM_LDFLAGS := -L$(shell $(LLVM_CONFIG) --libdir) -Wl,-rpath,$(shell $(LLVM_CONFIG) --libdir) -lLTO
 endif
 
 CPPFLAGS = $(LLVM_CPPFLAGS) -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers $(OTHER_CPPFLAGS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160310/2ca69098/attachment.html>


More information about the macports-changes mailing list