[125350] trunk/dports/devel/gmp

mcalhoun at macports.org mcalhoun at macports.org
Sun Sep 14 09:23:49 PDT 2014


Revision: 125350
          https://trac.macports.org/changeset/125350
Author:   mcalhoun at macports.org
Date:     2014-09-14 09:23:49 -0700 (Sun, 14 Sep 2014)
Log Message:
-----------
prevent configure script from confusing 10.10 (Yosemite) with 10.1 (Puma); Fixes #44596

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

Added Paths:
-----------
    trunk/dports/devel/gmp/files/yosemite-symbol-lookup.patch

Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile	2014-09-14 14:40:57 UTC (rev 125349)
+++ trunk/dports/devel/gmp/Portfile	2014-09-14 16:23:49 UTC (rev 125350)
@@ -6,6 +6,7 @@
 
 name            gmp
 version         6.0.0
+revision        1
 categories      devel math
 license         LGPL-3+
 maintainers     mcalhoun openmaintainer
@@ -36,6 +37,8 @@
 # See https://gmplib.org/list-archives/gmp-announce/2014-March/000042.html
 distfiles ${name}-${version}a${extract.suffix}
 
+patchfiles      yosemite-symbol-lookup.patch
+
 configure.args  --enable-cxx
 
 # Prevent precompiled binaries.

Added: trunk/dports/devel/gmp/files/yosemite-symbol-lookup.patch
===================================================================
--- trunk/dports/devel/gmp/files/yosemite-symbol-lookup.patch	                        (rev 0)
+++ trunk/dports/devel/gmp/files/yosemite-symbol-lookup.patch	2014-09-14 16:23:49 UTC (rev 125350)
@@ -0,0 +1,26 @@
+Index: aclocal.m4
+===================================================================
+--- aclocal.m4.orig
++++ aclocal.m4
+@@ -1066,7 +1066,7 @@ _LT_EOF
+       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: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -14809,7 +14809,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/20140914/944ef8e1/attachment.html>


More information about the macports-changes mailing list