[137053] trunk/dports/textproc/libxslt

ryandesign at macports.org ryandesign at macports.org
Wed Jun 3 11:39:52 PDT 2015


Revision: 137053
          https://trac.macports.org/changeset/137053
Author:   ryandesign at macports.org
Date:     2015-06-03 11:39:52 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
libxslt: 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).

Modified Paths:
--------------
    trunk/dports/textproc/libxslt/Portfile

Added Paths:
-----------
    trunk/dports/textproc/libxslt/files/
    trunk/dports/textproc/libxslt/files/yosemite-libtool.patch

Modified: trunk/dports/textproc/libxslt/Portfile
===================================================================
--- trunk/dports/textproc/libxslt/Portfile	2015-06-03 18:35:42 UTC (rev 137052)
+++ trunk/dports/textproc/libxslt/Portfile	2015-06-03 18:39:52 UTC (rev 137053)
@@ -36,7 +36,7 @@
                 --without-crypto
 
 if {${name} eq ${subport}} {
-    revision            0
+    revision            1
 
     depends_lib-append  port:libiconv \
                         port:libxml2 \
@@ -46,6 +46,8 @@
     reinplace s|need_relink=yes|need_relink=no| ${worksrcpath}/ltmain.sh
 }
 
+patchfiles-append       yosemite-libtool.patch
+
 post-patch {
     if {![variant_isset doc]} {
         reinplace -E "/^install-data-am:/s|install-data-local||" ${worksrcpath}/doc/Makefile.in

Added: trunk/dports/textproc/libxslt/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/textproc/libxslt/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/textproc/libxslt/files/yosemite-libtool.patch	2015-06-03 18:39:52 UTC (rev 137053)
@@ -0,0 +1,15 @@
+Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -10879,7 +10879,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/ca396e8d/attachment.html>


More information about the macports-changes mailing list