diff -uNr mpfr-3.1.2.orig/configure mpfr-3.1.2/configure
--- mpfr-3.1.2.orig/configure	2013-03-13 11:38:20.000000000 -0400
+++ mpfr-3.1.2/configure	2014-10-26 01:00:37.000000000 -0400
@@ -10401,7 +10401,7 @@
       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' ;;
diff -uNr mpfr-3.1.2.orig/m4/libtool.m4 mpfr-3.1.2/m4/libtool.m4
--- mpfr-3.1.2.orig/m4/libtool.m4	2013-03-13 11:38:16.000000000 -0400
+++ mpfr-3.1.2/m4/libtool.m4	2014-10-26 01:00:37.000000000 -0400
@@ -1052,7 +1052,7 @@
       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' ;;
