[127663] trunk/dports/math/fftw-3
larryv at macports.org
larryv at macports.org
Fri Oct 31 14:12:58 PDT 2014
Revision: 127663
https://trac.macports.org/changeset/127663
Author: larryv at macports.org
Date: 2014-10-31 14:12:58 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
fftw-3*: Use two-level namespace on Yosemite (#45707)
Again with the Libtool MACOSX_DEPLOYMENT_TARGET bug (#44596).
Modified Paths:
--------------
trunk/dports/math/fftw-3/Portfile
Added Paths:
-----------
trunk/dports/math/fftw-3/files/
trunk/dports/math/fftw-3/files/yosemite-libtool-twolevelns.patch
Modified: trunk/dports/math/fftw-3/Portfile
===================================================================
--- trunk/dports/math/fftw-3/Portfile 2014-10-31 21:12:56 UTC (rev 127662)
+++ trunk/dports/math/fftw-3/Portfile 2014-10-31 21:12:58 UTC (rev 127663)
@@ -8,7 +8,7 @@
name fftw-3
version 3.3.4
-revision 0
+revision 1
categories math
license GPL-2+
platforms darwin
@@ -44,6 +44,10 @@
rmd160 463b5120d42ec2a3bc1385689176c5e0296d0d4a \
sha256 8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982
+# Avoid linking with "-flat_namespace" on Yosemite and later (#45707).
+patchfiles \
+ yosemite-libtool-twolevelns.patch
+
# don't change configure.cc, etc. since we'll take care of that manually with
# MPICC env var
mpi.choose
Added: trunk/dports/math/fftw-3/files/yosemite-libtool-twolevelns.patch
===================================================================
--- trunk/dports/math/fftw-3/files/yosemite-libtool-twolevelns.patch (rev 0)
+++ trunk/dports/math/fftw-3/files/yosemite-libtool-twolevelns.patch 2014-10-31 21:12:58 UTC (rev 127663)
@@ -0,0 +1,13 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -8703,7 +8703,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/20141031/280071af/attachment.html>
More information about the macports-changes
mailing list