[127679] trunk/dports/devel/libmpc

larryv at macports.org larryv at macports.org
Fri Oct 31 19:55:18 PDT 2014


Revision: 127679
          https://trac.macports.org/changeset/127679
Author:   larryv at macports.org
Date:     2014-10-31 19:55:18 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
libmpc: Don't use flat namespace on Yosemite (#45710)

More Libtool MACOSX_DEPLOYMENT_TARGET travail (#44596).

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

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

Modified: trunk/dports/devel/libmpc/Portfile
===================================================================
--- trunk/dports/devel/libmpc/Portfile	2014-11-01 02:14:01 UTC (rev 127678)
+++ trunk/dports/devel/libmpc/Portfile	2014-11-01 02:55:18 UTC (rev 127679)
@@ -4,6 +4,7 @@
 
 name                libmpc
 version             1.0.2
+revision            1
 categories          devel
 maintainers         mww openmaintainer
 platforms           darwin
@@ -19,6 +20,8 @@
 
 depends_lib         port:gmp port:mpfr
 
+patchfiles          yosemite-libtool-twolevelns.patch
+
 test.run            yes
 test.target         check
 

Added: trunk/dports/devel/libmpc/files/yosemite-libtool-twolevelns.patch
===================================================================
--- trunk/dports/devel/libmpc/files/yosemite-libtool-twolevelns.patch	                        (rev 0)
+++ trunk/dports/devel/libmpc/files/yosemite-libtool-twolevelns.patch	2014-11-01 02:55:18 UTC (rev 127679)
@@ -0,0 +1,13 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -7508,7 +7508,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/b54b8d5e/attachment-0001.html>


More information about the macports-changes mailing list