commit 0f18d50bc7948505a6f9e0b8d09ab44b795e0878
Author: Lawrence Velázquez <larryv@macports.org>
Date: 2 hours ago
curl: Don't create flat-namespace dylibs on Yosemite (#47939)
Quash the Libtool MACOSX_DEPLOYMENT_TARGET bug (comment:35:ticket:44596,
http://lists.gnu.org/archive/html/libtool-patches/2014-09/msg00000.html).
diff --git a/dports/net/curl/Portfile b/dports/net/curl/Portfile
index c3c7a00..f38d64a 100644
a
|
b
|
checksums ${distfiles} \ |
31 | 31 | if {${name} eq ${subport}} { |
32 | 32 | PortGroup muniversal 1.0 |
33 | 33 | |
34 | | # skip 7.42.1 revision 1 if revbumping for other than nghttp2 v1.0.0 |
35 | | revision 0 |
| 34 | revision 2 |
36 | 35 | |
37 | 36 | depends_build port:pkgconfig |
38 | 37 | |
39 | 38 | depends_lib port:libidn \ |
40 | 39 | port:zlib |
41 | 40 | |
42 | | patchfiles patch-curl.h.diff |
| 41 | patchfiles patch-curl.h.diff \ |
| 42 | yosemite-libtool.patch |
43 | 43 | |
44 | 44 | configure.args --enable-ipv6 \ |
45 | 45 | --without-gnutls \ |
diff --git a/dports/net/curl/files/yosemite-libtool.patch b/dports/net/curl/files/yosemite-libtool.patch
new file mode 100644
index 0000000..69615fb
-
|
+
|
|
| 1 | Don't accidentally create flat-namespace dylibs on Yosemite (#44596). |
| 2 | |
| 3 | Index: configure |
| 4 | =================================================================== |
| 5 | --- configure.orig |
| 6 | +++ configure |
| 7 | @@ -10879,7 +10879,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; } |
| 8 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 9 | 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
| 10 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 11 | - 10.[012]*) |
| 12 | + 10.[012][,.]*) |
| 13 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 14 | 10.*) |
| 15 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |