Modified: trunk/dports/lang/llvm-3.4/Portfile (124898 => 124899)
--- 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 (0 => 124899)
--- 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
+