[137034] trunk/dports/devel/libevent
larryv at macports.org
larryv at macports.org
Wed Jun 3 10:43:52 PDT 2015
Revision: 137034
https://trac.macports.org/changeset/137034
Author: larryv at macports.org
Date: 2015-06-03 10:43:52 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
libevent: Don't create flat-namespace dylibs 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/libevent/Portfile
Added Paths:
-----------
trunk/dports/devel/libevent/files/
trunk/dports/devel/libevent/files/yosemite-libtool.patch
Modified: trunk/dports/devel/libevent/Portfile
===================================================================
--- trunk/dports/devel/libevent/Portfile 2015-06-03 17:43:49 UTC (rev 137033)
+++ trunk/dports/devel/libevent/Portfile 2015-06-03 17:43:52 UTC (rev 137034)
@@ -5,6 +5,7 @@
name libevent
version 2.0.22
+revision 1
categories devel
platforms darwin
license BSD
@@ -27,6 +28,9 @@
checksums rmd160 6a7e8e3ebcfd2227fa807a604b5c773c90c8b8cc \
sha256 71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
+# Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+patchfiles yosemite-libtool.patch
+
test.run yes
test.target verify
Added: trunk/dports/devel/libevent/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/devel/libevent/files/yosemite-libtool.patch (rev 0)
+++ trunk/dports/devel/libevent/files/yosemite-libtool.patch 2015-06-03 17:43:52 UTC (rev 137034)
@@ -0,0 +1,15 @@
+Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -7864,7 +7864,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/5e5b91d7/attachment.html>
More information about the macports-changes
mailing list