[124899] trunk/dports/lang/llvm-3.4

jeremyhu at macports.org jeremyhu at macports.org
Sat Aug 30 12:38:47 PDT 2014


Revision: 124899
          https://trac.macports.org/changeset/124899
Author:   jeremyhu at macports.org
Date:     2014-08-30 12:38:47 -0700 (Sat, 30 Aug 2014)
Log Message:
-----------
llvm-3.4: Yosemite build fix

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.4/Portfile

Added Paths:
-----------
    trunk/dports/lang/llvm-3.4/files/0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch

Modified: trunk/dports/lang/llvm-3.4/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.4/Portfile	2014-08-30 17:57:17 UTC (rev 124898)
+++ trunk/dports/lang/llvm-3.4/Portfile	2014-08-30 19:38:47 UTC (rev 124899)
@@ -101,6 +101,7 @@
                     sha256  ba85187551ae97fe1c8ab569903beae5ff0900e21233e5eb5389f6ceab1028b4
 
 patchfiles      install_target.patch \
+                0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch \
                 tiger-shlib.patch
 
 patch.pre_args  -p1

Added: trunk/dports/lang/llvm-3.4/files/0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch	                        (rev 0)
+++ trunk/dports/lang/llvm-3.4/files/0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch	2014-08-30 19:38:47 UTC (rev 124899)
@@ -0,0 +1,15 @@
+--- a/projects/sample/Makefile.llvm.rules.orig	2013-08-04 15:06:11.000000000 -0700
++++ b/projects/sample/Makefile.llvm.rules	2014-08-30 12:34:15.000000000 -0700
+@@ -476,9 +476,9 @@ endif
+ ifeq ($(HOST_OS),Darwin)
+   DARWIN_VERSION := `sw_vers -productVersion`
+   # Strip a number like 10.4.7 to 10.4
+-  DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/')
++  DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]+).*/\1/')
+   # Get "4" out of 10.4 for later pieces in the makefile.
+-  DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
++  DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]+).*/\1/')
+ 
+   LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress
+   SharedLinkOptions := -dynamiclib
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140830/e9931e3d/attachment.html>


More information about the macports-changes mailing list