[137044] trunk/dports/devel/autogen

larryv at macports.org larryv at macports.org
Wed Jun 3 11:06:44 PDT 2015


Revision: 137044
          https://trac.macports.org/changeset/137044
Author:   larryv at macports.org
Date:     2015-06-03 11:06:44 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
autogen: 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/autogen/Portfile

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

Modified: trunk/dports/devel/autogen/Portfile
===================================================================
--- trunk/dports/devel/autogen/Portfile	2015-06-03 18:04:59 UTC (rev 137043)
+++ trunk/dports/devel/autogen/Portfile	2015-06-03 18:06:44 UTC (rev 137044)
@@ -5,6 +5,7 @@
 
 name                autogen
 version             5.18.4
+revision            1
 categories          devel
 platforms           darwin
 maintainers         mww openmaintainer
@@ -27,6 +28,9 @@
 
 depends_lib         port:guile port:libiconv port:libxml2 port:zlib port:coreutils
 
+# Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+patchfiles          yosemite-libtool.patch
+
 configure.args      --mandir=${prefix}/share/man \
                     --infodir=${prefix}/share/info
 

Added: trunk/dports/devel/autogen/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/devel/autogen/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/devel/autogen/files/yosemite-libtool.patch	2015-06-03 18:06:44 UTC (rev 137044)
@@ -0,0 +1,15 @@
+Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -8223,7 +8223,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/f3198c8f/attachment.html>


More information about the macports-changes mailing list