diff --git a/math/fftw-3/Portfile b/math/fftw-3/Portfile
index 55f41c3d62..6689503e58 100644
a
|
b
|
PortGroup compiler_blacklist_versions 1.0 |
6 | 6 | PortGroup mpi 1.0 |
7 | 7 | |
8 | 8 | name fftw-3 |
9 | | version 3.3.5 |
10 | | revision 1 |
| 9 | version 3.3.7 |
11 | 10 | categories math |
12 | 11 | license GPL-2+ |
13 | 12 | platforms darwin |
… |
… |
long_description \ |
39 | 38 | improvements relative to 2.x, but is not backwardly \ |
40 | 39 | compatible. |
41 | 40 | |
42 | | checksums rmd160 d5800f3d56b7b499265633b52a0b9850b17c148e \ |
43 | | sha256 8ecfe1b04732ec3f5b7d279fdb8efcad536d555f9d1e8fabd027037d45ea8bcf |
44 | | |
45 | | # Don't link with "-flat_namespace -undefined suppress" on Yosemite and |
46 | | # later (#45707). |
47 | | patchfiles \ |
48 | | yosemite-libtool.patch |
| 41 | checksums rmd160 6fb90ce7190190998ff4c579934b76de270db271 \ |
| 42 | sha256 3b609b7feba5230e8f6dd8d245ddbefac324c5a6ae4186947670d9ac2cd25573 |
49 | 43 | |
50 | 44 | variant pfft_patches description {Apply patches recommended for use as dependency of pfft port} { |
51 | 45 | if {![mpi_variant_isset]} { |
… |
… |
pre-configure { |
97 | 91 | x86_64 "--enable-sse2" |
98 | 92 | } |
99 | 93 | } |
| 94 | |
| 95 | if {![variant_isset universal]} { |
| 96 | configure.args-append $merger_configure_args(${os.arch}) |
| 97 | } |
100 | 98 | } |
101 | 99 | |
102 | 100 | test.run yes |
… |
… |
platform darwin { |
110 | 108 | } |
111 | 109 | } |
112 | 110 | |
113 | | platform powerpc { |
114 | | if {![variant_isset universal]} { |
115 | | configure.args-append --enable-fma |
116 | | } |
117 | | } |
118 | | |
119 | 111 | subport fftw-3-single { |
120 | 112 | configure.args-append --enable-float |
121 | 113 | |
122 | 114 | depends_lib port:fftw-3 |
123 | 115 | |
124 | | platform powerpc { |
125 | | if {![variant_isset universal]} { |
126 | | configure.args-append --enable-altivec |
127 | | } |
128 | | } |
129 | | |
130 | 116 | pre-configure { |
131 | 117 | if { [avx_compiler_isset] == 1 } { |
132 | 118 | array set merger_configure_args { |
… |
… |
subport fftw-3-single { |
144 | 130 | } |
145 | 131 | } |
146 | 132 | |
| 133 | if {![variant_isset universal]} { |
| 134 | configure.args-append $merger_configure_args(${os.arch}) |
| 135 | } |
| 136 | |
147 | 137 | platform i386 { |
148 | 138 | if {![variant_isset universal]} { |
149 | 139 | configure.args-delete --enable-sse2 |
150 | 140 | configure.args-append --enable-sse |
151 | | if { [avx_compiler_isset] == 1 } { |
152 | | configure.args-append --enable-avx |
153 | | } |
154 | 141 | } |
155 | 142 | } |
156 | 143 | } |
diff --git a/math/fftw-3/files/yosemite-libtool.patch b/math/fftw-3/files/yosemite-libtool.patch
deleted file mode 100644
index 710e18fc89..0000000000
+
|
-
|
|
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' ;; |