[137052] trunk/dports/devel/zmq

ryandesign at macports.org ryandesign at macports.org
Wed Jun 3 11:35:42 PDT 2015


Revision: 137052
          https://trac.macports.org/changeset/137052
Author:   ryandesign at macports.org
Date:     2015-06-03 11:35:42 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
zmq22: 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/zmq/Portfile

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

Modified: trunk/dports/devel/zmq/Portfile
===================================================================
--- trunk/dports/devel/zmq/Portfile	2015-06-03 18:34:47 UTC (rev 137051)
+++ trunk/dports/devel/zmq/Portfile	2015-06-03 18:35:42 UTC (rev 137052)
@@ -38,12 +38,15 @@
 subport zmq22 {
 
     version             2.2.0
+    revision            1
 
     checksums           rmd160 63c6ca84c292a72ffb0e18f1a97a6fa744a6be7c \
                         sha256 43904aeb9ea6844f72ca02e4e53bf1d481a1a0264e64979da761464e88604637
 
     conflicts           zmq zmq-devel
 
+    patchfiles-append   yosemite-libtool.patch
+
 }
 
 subport zmq-devel {

Added: trunk/dports/devel/zmq/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/devel/zmq/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/devel/zmq/files/yosemite-libtool.patch	2015-06-03 18:35:42 UTC (rev 137052)
@@ -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/fd505c66/attachment.html>


More information about the macports-changes mailing list