[137046] trunk/dports/archivers/libzzip

ryandesign at macports.org ryandesign at macports.org
Wed Jun 3 11:12:24 PDT 2015


Revision: 137046
          https://trac.macports.org/changeset/137046
Author:   ryandesign at macports.org
Date:     2015-06-03 11:12:24 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
libzzip: 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/archivers/libzzip/Portfile

Added Paths:
-----------
    trunk/dports/archivers/libzzip/files/yosemite-libtool.patch

Modified: trunk/dports/archivers/libzzip/Portfile
===================================================================
--- trunk/dports/archivers/libzzip/Portfile	2015-06-03 18:09:12 UTC (rev 137045)
+++ trunk/dports/archivers/libzzip/Portfile	2015-06-03 18:12:24 UTC (rev 137046)
@@ -6,6 +6,7 @@
 name            libzzip
 set my_name     zziplib
 version         0.13.62
+revision        1
 set minor       [lindex [split ${version} .] 1]
 categories      archivers devel
 platforms       darwin
@@ -34,7 +35,8 @@
 
 depends_lib     port:zlib
 
-patchfiles      patch-zzip_Makefile.in.diff
+patchfiles      patch-zzip_Makefile.in.diff \
+                yosemite-libtool.patch
 
 set docdir ${prefix}/share/doc/${name}
 

Added: trunk/dports/archivers/libzzip/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/archivers/libzzip/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/archivers/libzzip/files/yosemite-libtool.patch	2015-06-03 18:12:24 UTC (rev 137046)
@@ -0,0 +1,12 @@
+Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+--- configure.orig	2012-03-11 15:28:52.000000000 -0500
++++ configure	2015-06-03 13:09:43.000000000 -0500
+@@ -7445,7 +7445,7 @@
+       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/99645a24/attachment.html>


More information about the macports-changes mailing list