[127662] trunk/dports/devel/gettext

larryv at macports.org larryv at macports.org
Fri Oct 31 14:12:56 PDT 2014


Revision: 127662
          https://trac.macports.org/changeset/127662
Author:   larryv at macports.org
Date:     2014-10-31 14:12:56 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
gettext: Use two-level namespace on Yosemite (#45715)

Modified Paths:
--------------
    trunk/dports/devel/gettext/Portfile

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

Modified: trunk/dports/devel/gettext/Portfile
===================================================================
--- trunk/dports/devel/gettext/Portfile	2014-10-31 20:49:27 UTC (rev 127661)
+++ trunk/dports/devel/gettext/Portfile	2014-10-31 21:12:56 UTC (rev 127662)
@@ -8,6 +8,7 @@
 name                    gettext
 epoch                   2
 version                 0.19.3
+revision                1
 categories              devel
 maintainers             ryandesign
 # libs are LGPL and executables are GPL
@@ -28,6 +29,9 @@
 # Note: unable to autoreconf due to dependency cycle
 patchfiles               stdlib.patch
 
+# Don't link with "-flat_namespace" on Yosemite and later (#45715).
+patchfiles-append       yosemite-libtool-twolevelns.patch
+
 # https://trac.macports.org/ticket/31167
 compiler.blacklist-append   {clang < 211.10.1}
 

Added: trunk/dports/devel/gettext/files/yosemite-libtool-twolevelns.patch
===================================================================
--- trunk/dports/devel/gettext/files/yosemite-libtool-twolevelns.patch	                        (rev 0)
+++ trunk/dports/devel/gettext/files/yosemite-libtool-twolevelns.patch	2014-10-31 21:12:56 UTC (rev 127662)
@@ -0,0 +1,39 @@
+Index: gettext-runtime/configure
+===================================================================
+--- gettext-runtime/configure.orig
++++ gettext-runtime/configure
+@@ -10174,7 +10174,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' ;;
+Index: gettext-runtime/libasprintf/configure
+===================================================================
+--- gettext-runtime/libasprintf/configure.orig
++++ gettext-runtime/libasprintf/configure
+@@ -8385,7 +8385,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' ;;
+Index: gettext-tools/configure
+===================================================================
+--- gettext-tools/configure.orig
++++ gettext-tools/configure
+@@ -12185,7 +12185,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/20141031/517e7601/attachment.html>


More information about the macports-changes mailing list