[137026] trunk/dports/science/hdf5
larryv at macports.org
larryv at macports.org
Wed Jun 3 08:44:11 PDT 2015
Revision: 137026
https://trac.macports.org/changeset/137026
Author: larryv at macports.org
Date: 2015-06-03 08:44:11 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
hdf5: Don't create flat-namespace dylibs on Yosemite
Quash the Libtool MACOSX_DEPLOYMENT_TARGET bug (comment:35:ticket:44596,
http://lists.gnu.org/archive/html/libtool-patches/2014-09/msg00000.html).
Modified Paths:
--------------
trunk/dports/science/hdf5/Portfile
Added Paths:
-----------
trunk/dports/science/hdf5/files/
trunk/dports/science/hdf5/files/yosemite-libtool.patch
Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile 2015-06-03 14:38:57 UTC (rev 137025)
+++ trunk/dports/science/hdf5/Portfile 2015-06-03 15:44:11 UTC (rev 137026)
@@ -8,6 +8,7 @@
name hdf5
version 1.8.15
+revision 1
categories science
maintainers mmoll openmaintainer
@@ -38,6 +39,10 @@
# nawk: bailing out at source line 273
conflicts_build nawk
+# Don't create dylibs with "-flat_namespace -undefined suppress" on
+# Yosemite and later (#45483).
+patchfiles yosemite-libtool.patch
+
# llvm-gcc-4.2 produced code fails type conversion tests
# Upstream suggestion is use -O0. Clang-produced code passes all tests.
compiler.blacklist llvm-gcc-4.2
Added: trunk/dports/science/hdf5/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/science/hdf5/files/yosemite-libtool.patch (rev 0)
+++ trunk/dports/science/hdf5/files/yosemite-libtool.patch 2015-06-03 15:44:11 UTC (rev 137026)
@@ -0,0 +1,13 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -10986,7 +10986,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+- 10.[012]*)
++ 10.[012][,.]*)
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150603/2ab594e5/attachment.html>
More information about the macports-changes
mailing list