commit 3f2c101fddebde297e884bb60496b33bb8cf68eb
Author: Lawrence Velázquez <larryv@macports.org>
Date: 55 minutes ago
apr: Don't create flat-namespace dylib 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).
diff --git a/dports/devel/apr/Portfile b/dports/devel/apr/Portfile
index 6c6e4db3..5094d8e 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | |
5 | 5 | name apr |
6 | 6 | version 1.5.2 |
| 7 | revision 1 |
7 | 8 | categories devel |
8 | 9 | maintainers geeklair.net:dluke |
9 | 10 | platforms darwin |
… |
… |
configure.args --with-installbuilddir=${prefix}/share/apr-1/build \ |
38 | 39 | --enable-nonportable-atomics \ |
39 | 40 | ac_cv_func_setpgrp_void=no |
40 | 41 | |
41 | | patchfiles apr_h_patch.diff |
| 42 | patchfiles apr_h_patch.diff \ |
| 43 | yosemite-libtool.patch |
42 | 44 | |
43 | 45 | pre-configure { |
44 | 46 | #- -no-cpp-precomp is obsolete |
diff --git a/dports/devel/apr/files/yosemite-libtool.patch b/dports/devel/apr/files/yosemite-libtool.patch
new file mode 100644
index 0000000..e317e18
-
|
+
|
|
| 1 | Don't accidentally create flat-namespace dylibs on Yosemite (#44596). |
| 2 | |
| 3 | Index: configure |
| 4 | =================================================================== |
| 5 | --- configure.orig |
| 6 | +++ configure |
| 7 | @@ -13701,7 +13701,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' ;; |