commit 524e826dfc6abf290ddd79e0525f79eba7f8dca2
Author: Lawrence Velázquez <larryv@macports.org>
Date: 25 minutes ago
fftw-3: Fix incorrect linkage on Yosemite (#45707)
Again with the Libtool MACOSX_DEPLOYMENT_TARGET bug (#44596).
diff --git a/dports/math/fftw-3/Portfile b/dports/math/fftw-3/Portfile
index 5fe0b19..7b242de 100644
a
|
b
|
PortGroup mpi 1.0 |
8 | 8 | |
9 | 9 | name fftw-3 |
10 | 10 | version 3.3.4 |
11 | | revision 0 |
| 11 | revision 1 |
12 | 12 | categories math |
13 | 13 | license GPL-2+ |
14 | 14 | platforms darwin |
… |
… |
checksums \ |
44 | 44 | rmd160 463b5120d42ec2a3bc1385689176c5e0296d0d4a \ |
45 | 45 | sha256 8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982 |
46 | 46 | |
| 47 | # Correctly link with "-undefined dynamic_lookup" on Yosemite and later |
| 48 | # (#45707). |
| 49 | patchfiles \ |
| 50 | yosemite-libtool-dynamic_lookup.patch |
| 51 | |
47 | 52 | # don't change configure.cc, etc. since we'll take care of that manually with |
48 | 53 | # MPICC env var |
49 | 54 | mpi.choose |
diff --git a/dports/math/fftw-3/files/yosemite-libtool-dynamic_lookup.patch b/dports/math/fftw-3/files/yosemite-libtool-dynamic_lookup.patch
new file mode 100644
index 0000000..710e18f
-
|
+
|
|
| 1 | Index: configure |
| 2 | =================================================================== |
| 3 | --- configure.orig |
| 4 | +++ configure |
| 5 | @@ -8703,7 +8703,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; } |
| 6 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 7 | 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
| 8 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 9 | - 10.[012]*) |
| 10 | + 10.[012][,.]*) |
| 11 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 12 | 10.*) |
| 13 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |