[131748] trunk/dports/lang/libcxx
jeremyhu at macports.org
jeremyhu at macports.org
Fri Jan 16 21:19:34 PST 2015
Revision: 131748
https://trac.macports.org/changeset/131748
Author: jeremyhu at macports.org
Date: 2015-01-16 21:19:33 -0800 (Fri, 16 Jan 2015)
Log Message:
-----------
libcxx: Bump to 3.5.1
Modified Paths:
--------------
trunk/dports/lang/libcxx/Portfile
Added Paths:
-----------
trunk/dports/lang/libcxx/files/0001-buildit-build-fix-for-Leopard.patch
trunk/dports/lang/libcxx/files/0002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
Removed Paths:
-------------
trunk/dports/lang/libcxx/files/leopard-buildit.patch
Modified: trunk/dports/lang/libcxx/Portfile
===================================================================
--- trunk/dports/lang/libcxx/Portfile 2015-01-17 05:03:46 UTC (rev 131747)
+++ trunk/dports/lang/libcxx/Portfile 2015-01-17 05:19:33 UTC (rev 131748)
@@ -4,8 +4,7 @@
PortGroup compiler_blacklist_versions 1.0
name libcxx
-version 3.5.0
-revision 1
+version 3.5.1
epoch 1
categories lang
platforms darwin
@@ -27,8 +26,8 @@
use_xz yes
distname ${name}-${version}.src
-checksums rmd160 ced5e8f98ba32ad792e77e5977b527d2e3388aa2 \
- sha256 8045da845a63e50c201939eda8290d45e5752a9385d4d626214300d4a4d0b1c0
+checksums rmd160 46a5a2d9eaffe6b287d6245ab677d06e557d0687 \
+ sha256 a16d0ae0c0cf2c8cebb94fafcb907022cd4f8579ebac99a4c9919990a37ad475
variant universal {}
use_configure no
@@ -66,8 +65,10 @@
compiler.whitelist macports-clang-3.6
}
+ patch.pre_args -p1
patchfiles-append \
- leopard-buildit.patch
+ 0001-buildit-build-fix-for-Leopard.patch \
+ 0002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
build.dir ${worksrcpath}/lib
build.cmd ./buildit
Added: trunk/dports/lang/libcxx/files/0001-buildit-build-fix-for-Leopard.patch
===================================================================
--- trunk/dports/lang/libcxx/files/0001-buildit-build-fix-for-Leopard.patch (rev 0)
+++ trunk/dports/lang/libcxx/files/0001-buildit-build-fix-for-Leopard.patch 2015-01-17 05:19:33 UTC (rev 131748)
@@ -0,0 +1,35 @@
+From 357f51a5693be595909be627d11bfba20e3944cd Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+Date: Fri, 16 Jan 2015 21:10:35 -0800
+Subject: [PATCH 1/2] buildit build fix for Leopard
+
+Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+---
+ lib/buildit | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/buildit b/lib/buildit
+index 7e3bc2e..2740dee 100755
+--- a/lib/buildit
++++ b/lib/buildit
+@@ -50,7 +50,7 @@ case $TRIPLE in
+ RC_CFLAGS="-arch i386 -arch x86_64"
+ fi
+ SOEXT=dylib
+- if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
++ if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.5" ] || [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
+ then
+ EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
+ LDSHARED_FLAGS="-o libc++.1.dylib \
+@@ -59,7 +59,7 @@ case $TRIPLE in
+ -install_name /usr/lib/libc++.1.dylib \
+ -Wl,-reexport_library,/usr/lib/libc++abi.dylib \
+ -Wl,-unexported_symbols_list,libc++unexp.exp \
+- /usr/lib/libSystem.B.dylib"
++ /usr/lib/libSystem.B.dylib /usr/lib/libgcc_s.1.dylib"
+ else
+ if [ -n "$SDKROOT" ]
+ then
+--
+2.2.2
+
Added: trunk/dports/lang/libcxx/files/0002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
===================================================================
--- trunk/dports/lang/libcxx/files/0002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch (rev 0)
+++ trunk/dports/lang/libcxx/files/0002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch 2015-01-17 05:19:33 UTC (rev 131748)
@@ -0,0 +1,28 @@
+From f76bf5631a732baf296f331f1c6b6d6fb12b481a Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+Date: Fri, 16 Jan 2015 21:11:37 -0800
+Subject: [PATCH 2/2] buildit: Set compatibility version to
+ RC_ProjectSourceVersion
+
+Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+---
+ lib/buildit | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/lib/buildit b/lib/buildit
+index 2740dee..c74683f 100755
+--- a/lib/buildit
++++ b/lib/buildit
+@@ -54,7 +54,8 @@ case $TRIPLE in
+ then
+ EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
+ LDSHARED_FLAGS="-o libc++.1.dylib \
+- -dynamiclib -nodefaultlibs -current_version 1 \
++ -dynamiclib -nodefaultlibs \
++ -current_version ${RC_ProjectSourceVersion} \
+ -compatibility_version 1 \
+ -install_name /usr/lib/libc++.1.dylib \
+ -Wl,-reexport_library,/usr/lib/libc++abi.dylib \
+--
+2.2.2
+
Deleted: trunk/dports/lang/libcxx/files/leopard-buildit.patch
===================================================================
--- trunk/dports/lang/libcxx/files/leopard-buildit.patch 2015-01-17 05:03:46 UTC (rev 131747)
+++ trunk/dports/lang/libcxx/files/leopard-buildit.patch 2015-01-17 05:19:33 UTC (rev 131748)
@@ -1,20 +0,0 @@
---- lib/buildit.orig 2015-01-04 13:10:26.000000000 -0800
-+++ lib/buildit 2015-01-04 13:11:17.000000000 -0800
-@@ -50,7 +50,7 @@ case $TRIPLE in
- RC_CFLAGS="-arch i386 -arch x86_64"
- fi
- SOEXT=dylib
-- if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
-+ if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.5" ] || [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
- then
- EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
- LDSHARED_FLAGS="-o libc++.1.dylib \
-@@ -59,7 +59,7 @@ case $TRIPLE in
- -install_name /usr/lib/libc++.1.dylib \
- -Wl,-reexport_library,/usr/lib/libc++abi.dylib \
- -Wl,-unexported_symbols_list,libc++unexp.exp \
-- /usr/lib/libSystem.B.dylib"
-+ /usr/lib/libSystem.B.dylib /usr/lib/libgcc_s.1.dylib"
- else
- if [ -n "$SDKROOT" ]
- then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150116/90852849/attachment.html>
More information about the macports-changes
mailing list