[137063] trunk/dports/devel/apr
larryv at macports.org
larryv at macports.org
Wed Jun 3 16:31:19 PDT 2015
Revision: 137063
https://trac.macports.org/changeset/137063
Author: larryv at macports.org
Date: 2015-06-03 16:31:18 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
apr: Don't create flat-namespace dylib on Yosemite (#47938)
Quash the Libtool MACOSX_DEPLOYMENT_TARGET bug (comment:35:ticket:44596,
http://lists.gnu.org/archive/html/libtool-patches/2014-09/msg00000.html).
Modified Paths:
--------------
trunk/dports/devel/apr/Portfile
Added Paths:
-----------
trunk/dports/devel/apr/files/yosemite-libtool.patch
Modified: trunk/dports/devel/apr/Portfile
===================================================================
--- trunk/dports/devel/apr/Portfile 2015-06-03 23:14:09 UTC (rev 137062)
+++ trunk/dports/devel/apr/Portfile 2015-06-03 23:31:18 UTC (rev 137063)
@@ -4,6 +4,7 @@
name apr
version 1.5.2
+revision 1
categories devel
maintainers geeklair.net:dluke
platforms darwin
@@ -38,7 +39,8 @@
--enable-nonportable-atomics \
ac_cv_func_setpgrp_void=no
-patchfiles apr_h_patch.diff
+patchfiles apr_h_patch.diff \
+ yosemite-libtool.patch
pre-configure {
#- -no-cpp-precomp is obsolete
Added: trunk/dports/devel/apr/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/devel/apr/files/yosemite-libtool.patch (rev 0)
+++ trunk/dports/devel/apr/files/yosemite-libtool.patch 2015-06-03 23:31:18 UTC (rev 137063)
@@ -0,0 +1,15 @@
+Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -13701,7 +13701,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/20150603/18e58e94/attachment.html>
More information about the macports-changes
mailing list