[117562] trunk/dports/lang/llvm-3.5
jeremyhu at macports.org
jeremyhu at macports.org
Mon Mar 3 12:34:17 PST 2014
Revision: 117562
https://trac.macports.org/changeset/117562
Author: jeremyhu at macports.org
Date: 2014-03-03 12:34:17 -0800 (Mon, 03 Mar 2014)
Log Message:
-----------
clang-3.5: Snow Leopard build fix
Modified Paths:
--------------
trunk/dports/lang/llvm-3.5/Portfile
trunk/dports/lang/llvm-3.5/files/0001-Comment-out-SL-cctools-workaround.patch
Modified: trunk/dports/lang/llvm-3.5/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.5/Portfile 2014-03-03 19:59:02 UTC (rev 117561)
+++ trunk/dports/lang/llvm-3.5/Portfile 2014-03-03 20:34:17 UTC (rev 117562)
@@ -239,6 +239,10 @@
reinplace {s/VERBOSE := 0/VERBOSE := 1/} ${worksrcpath}/projects/compiler-rt/make/config.mk
}
+
+ reinplace "s|@@PREFIX@@|${prefix}|g" \
+ ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk \
+ ${worksrcpath}/projects/compiler-rt/make/platform/clang_macho_embedded.mk
}
}
Modified: trunk/dports/lang/llvm-3.5/files/0001-Comment-out-SL-cctools-workaround.patch
===================================================================
--- trunk/dports/lang/llvm-3.5/files/0001-Comment-out-SL-cctools-workaround.patch 2014-03-03 19:59:02 UTC (rev 117561)
+++ trunk/dports/lang/llvm-3.5/files/0001-Comment-out-SL-cctools-workaround.patch 2014-03-03 20:34:17 UTC (rev 117562)
@@ -1,17 +1,22 @@
-From 5d32457c53bb0ae8abdafeceb1b622a7b7934de2 Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
-Date: Mon, 15 Apr 2013 22:38:18 -0700
-Subject: [PATCH] Comment out SL cctools workaround
-
-Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
----
- make/platform/clang_darwin.mk | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
-index a5e22e6..6a4e956 100644
--- a/projects/compiler-rt/make/platform/clang_darwin.mk
+++ a/projects/compiler-rt/make/platform/clang_darwin.mk
+@@ -47,11 +47,11 @@ XCRunSdkPath = \
+
+ CC := $(call XCRun,clang)
+ LD := $(shell $(CC) -print-prog-name=ld)
+-AR := $(call XCRun,ar)
+-RANLIB := $(call XCRun,ranlib)
+-STRIP := $(call XCRun,strip)
+-LIPO := $(call XCRun,lipo)
+-DSYMUTIL := $(call XCRun,dsymutil)
++AR := @@PREFIX@@/bin/ar
++RANLIB := @@PREFIX@@/bin/ranlib
++STRIP := @@PREFIX@@/bin/strip
++LIPO := @@PREFIX@@/bin/lipo
++DSYMUTIL := @@PREFIX@@/bin/dsymutil
+
+ Configs :=
+ UniversalArchs :=
@@ -83,12 +83,12 @@ UniversalArchs.ubsan_osx := $(call Check
# object files. If we are on that platform, strip out all ARM archs. We still
# build the libraries themselves so that Clang can find them where it expects
@@ -31,6 +36,22 @@
# If RC_SUPPORTED_ARCHS is defined, treat it as a list of the architectures we
# are intended to support and limit what we try to build to that.
---
-1.8.2.1
-
+--- a/projects/compiler-rt/make/platform/clang_macho_embedded.mk 2014-03-03 10:11:37.000000000 -0800
++++ a/projects/compiler-rt/make/platform/clang_macho_embedded.mk 2014-03-03 12:08:37.000000000 -0800
+@@ -33,11 +33,11 @@ XCRun = \
+ ###
+
+ CC := $(call XCRun,clang)
+-AR := $(call XCRun,ar)
+-RANLIB := $(call XCRun,ranlib)
+-STRIP := $(call XCRun,strip)
+-LIPO := $(call XCRun,lipo)
+-DSYMUTIL := $(call XCRun,dsymutil)
++AR := @@PREFIX@@/bin/ar
++RANLIB := @@PREFIX@@/bin/ranlib
++STRIP := @@PREFIX@@/bin/strip
++LIPO := @@PREFIX@@/bin/lipo
++DSYMUTIL := @@PREFIX@@/bin/dsymutil
+
+ Configs :=
+ UniversalArchs :=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140303/af22f2db/attachment.html>
More information about the macports-changes
mailing list