[137054] trunk/dports/devel/libyaml

ryandesign at macports.org ryandesign at macports.org
Wed Jun 3 11:40:09 PDT 2015


Revision: 137054
          https://trac.macports.org/changeset/137054
Author:   ryandesign at macports.org
Date:     2015-06-03 11:40:09 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
libyaml: 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/devel/libyaml/Portfile

Added Paths:
-----------
    trunk/dports/devel/libyaml/files/
    trunk/dports/devel/libyaml/files/yosemite-libtool.patch

Modified: trunk/dports/devel/libyaml/Portfile
===================================================================
--- trunk/dports/devel/libyaml/Portfile	2015-06-03 18:39:52 UTC (rev 137053)
+++ trunk/dports/devel/libyaml/Portfile	2015-06-03 18:40:09 UTC (rev 137054)
@@ -6,6 +6,7 @@
 name            libyaml
 set dname       yaml
 version         0.1.6
+revision        1
 maintainers     nomaintainer
 categories      devel
 platforms       darwin
@@ -22,6 +23,8 @@
 checksums       rmd160  c37f04eb6d8c3c587bf241c2f3daf74b6d24f513 \
                 sha256  7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
 
+patchfiles      yosemite-libtool.patch
+
 test.run        yes
 test.target     check
 

Added: trunk/dports/devel/libyaml/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/devel/libyaml/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/devel/libyaml/files/yosemite-libtool.patch	2015-06-03 18:40:09 UTC (rev 137054)
@@ -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/aac07de5/attachment.html>


More information about the macports-changes mailing list