[137049] trunk/dports/sysutils/libvirt

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


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

Added Paths:
-----------
    trunk/dports/sysutils/libvirt/files/
    trunk/dports/sysutils/libvirt/files/yosemite-libtool.patch

Modified: trunk/dports/sysutils/libvirt/Portfile
===================================================================
--- trunk/dports/sysutils/libvirt/Portfile	2015-06-03 18:21:43 UTC (rev 137048)
+++ trunk/dports/sysutils/libvirt/Portfile	2015-06-03 18:24:20 UTC (rev 137049)
@@ -5,6 +5,7 @@
 
 name                libvirt
 version             1.2.16
+revision            1
 categories          sysutils
 license             LGPL-2.1+
 platforms           darwin
@@ -33,6 +34,8 @@
                     port:yajl \
                     port:zlib
 
+patchfiles-append   yosemite-libtool.patch
+
 configure.args      --disable-silent-rules \
                     --without-apparmor \
                     --without-audit \

Added: trunk/dports/sysutils/libvirt/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/sysutils/libvirt/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/sysutils/libvirt/files/yosemite-libtool.patch	2015-06-03 18:24:20 UTC (rev 137049)
@@ -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/f03cbc39/attachment-0001.html>


More information about the macports-changes mailing list