[127681] trunk/dports/textproc/libxml2
larryv at macports.org
larryv at macports.org
Fri Oct 31 20:10:39 PDT 2014
Revision: 127681
https://trac.macports.org/changeset/127681
Author: larryv at macports.org
Date: 2014-10-31 20:10:39 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
libxml2: Don't use flat namespace on Yosemite (#45711)
More Libtool MACOSX_DEPLOYMENT_TARGET shenanigans (#44596).
Modified Paths:
--------------
trunk/dports/textproc/libxml2/Portfile
Added Paths:
-----------
trunk/dports/textproc/libxml2/files/
trunk/dports/textproc/libxml2/files/yosemite-libtool-twolevelns.patch
Modified: trunk/dports/textproc/libxml2/Portfile
===================================================================
--- trunk/dports/textproc/libxml2/Portfile 2014-11-01 03:10:36 UTC (rev 127680)
+++ trunk/dports/textproc/libxml2/Portfile 2014-11-01 03:10:39 UTC (rev 127681)
@@ -7,6 +7,7 @@
name libxml2
version 2.9.2
+revision 1
categories textproc
platforms darwin
license MIT
@@ -39,6 +40,9 @@
${worksrcpath}/doc/xmllint.1
}
+# Don't link with "-flat_namespace" on Yosemite (#45711).
+patchfiles yosemite-libtool-twolevelns.patch
+
configure.args --enable-static \
--without-python
Added: trunk/dports/textproc/libxml2/files/yosemite-libtool-twolevelns.patch
===================================================================
--- trunk/dports/textproc/libxml2/files/yosemite-libtool-twolevelns.patch (rev 0)
+++ trunk/dports/textproc/libxml2/files/yosemite-libtool-twolevelns.patch 2014-11-01 03:10:39 UTC (rev 127681)
@@ -0,0 +1,13 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -7897,7 +7897,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/20141031/1b4a4a9b/attachment.html>
More information about the macports-changes
mailing list