[125319] trunk/dports/devel/mpfr
larryv at macports.org
larryv at macports.org
Sat Sep 13 07:38:29 PDT 2014
Revision: 125319
https://trac.macports.org/changeset/125319
Author: larryv at macports.org
Date: 2014-09-13 07:38:29 -0700 (Sat, 13 Sep 2014)
Log Message:
-----------
mpfr: Update to 3.1.2-p10
Also use correct symbol lookup under Yosemite.
Modified Paths:
--------------
trunk/dports/devel/mpfr/Portfile
Added Paths:
-----------
trunk/dports/devel/mpfr/files/
trunk/dports/devel/mpfr/files/yosemite-symbol-lookup.patch
Modified: trunk/dports/devel/mpfr/Portfile
===================================================================
--- trunk/dports/devel/mpfr/Portfile 2014-09-13 14:38:23 UTC (rev 125318)
+++ trunk/dports/devel/mpfr/Portfile 2014-09-13 14:38:29 UTC (rev 125319)
@@ -9,8 +9,8 @@
PortGroup muniversal 1.0
name mpfr
-set base_version 3.1.1
-set patch_level 2
+set base_version 3.1.2
+set patch_level 10
version ${base_version}-p${patch_level}
categories devel math
platforms darwin
@@ -35,9 +35,11 @@
use_xz yes
checksums ${distname}${extract.suffix} \
- rmd160 de61952998c5fe3e0467ed420d0aa5f1963e4a98 \
- sha256 49d5acc32dbeec30a8e26af9c19845763d63feacb8bf97b12876008419f5a17a
+ rmd160 902870a4c8bea3067b49e7a859dad0cf3fdffd06 \
+ sha256 399d0f47ef6608cc01d29ed1b99c7faff36d9994c45f36f41ba250147100453b
+patchfiles yosemite-symbol-lookup.patch
+
# Patch names are not qualified with the base version.
dist_subdir ${name}/${base_version}
patch.args -p1
@@ -45,12 +47,41 @@
patchfiles-append patch[format %02d ${i}]
}
checksums-append patch01 \
- rmd160 85434fe0b6e038cfc442192644924923ee0b646b \
- sha256 81ba90e0ad8f13f5392626b3b06f9145071dbbfc2b21099f562bf7f51a5228a3 \
+ rmd160 c6907261f3faa467a9d9cecdba6f9917db3b7de0 \
+ sha256 38c6bcfd42c0fc5abe8ec3a43381508ed64c0c2fc0feb2403e5a120f56cd0821 \
patch02 \
- rmd160 47646390186d9d76bad7b1f799c2dfa94501627e \
- sha256 40d152b1e94ee2accb17a8d6b870378f7774739f6348c6205c4d6c5dccdb12cf
+ rmd160 b9232b9b5467a6ba2770156a8eeb3b04612c46e1 \
+ sha256 3be0d786726b463cada256dae2fb6930dc961d8e11475f0f32577cb009322c11 \
+ patch03 \
+ rmd160 ea3cf54186502fcbd3d938067af22cf1e9814535 \
+ sha256 a4b82ae2538d7e18ba48c1d8343e7aa08cb885aa98df73d96099c46f78501c6a \
+ patch04 \
+ rmd160 38abeffb08d681fb3d664c6a51a9ca2096ecd255 \
+ sha256 bc1f01c3c16e3e05ae28583d758b3461765ff51e7d5981cf2c0142f2f41a1003 \
+ patch05 \
+ rmd160 9aba36a214cc2d04dce376049a82c45e9b871926 \
+ sha256 5b5701b3133d0a0553d8fed95628ede1bb729f5974eae4b0c5589a25825582c0 \
+ patch06 \
+ rmd160 554b0830858695ada7ec477dfa3ee3e29a54cb11 \
+ sha256 df21287e786875a29e582755f47a99acda500a167066e29abd59dc6294120ab4 \
+ patch07 \
+ rmd160 6dcbc15510c4f45ce330ba0d3f48dd4536832dec \
+ sha256 bd3b7edd038033ce2e6a5475ca93acd862682c3b9e221ad1fb66277ddfdfba05 \
+ patch08 \
+ rmd160 d32195e2b141208448d238852a365ceb6bf840ec \
+ sha256 a132935024b525842ec4111343266be6aa8d298c538204c7446558e88af711b5 \
+ patch09 \
+ rmd160 b98383f009bd7021ff1814f90033fd0f357a272e \
+ sha256 acc114030cdd45c3022bb543a857d1f2bcba2cff6df1ee3861d3e76f93c954e2 \
+ patch10 \
+ rmd160 940d1becc15f1f4f0e633720e251a0aec2b50bbe \
+ sha256 26f859193adc7700df47417c753236b915034e83b5da626498e6c46ec272ced1
+
+# Since patch08 changes configure.ac, we need to do this before the
+# build tries to.
+use_autoreconf yes
+
# Due to radr://10291355 (llvm.org PR11111), the new tls support enabled in clang with Xcode 4.2
# miscompiles mpfr. While this was fixed in Xcode 4.2.1, as the ttls support was never used prior to
# Xcode 4.2, the generic fix is to pass --disable-thread-safe to configure.
Added: trunk/dports/devel/mpfr/files/yosemite-symbol-lookup.patch
===================================================================
--- trunk/dports/devel/mpfr/files/yosemite-symbol-lookup.patch (rev 0)
+++ trunk/dports/devel/mpfr/files/yosemite-symbol-lookup.patch 2014-09-13 14:38:29 UTC (rev 125319)
@@ -0,0 +1,26 @@
+Index: mpfr-3.1.2/configure
+===================================================================
+--- mpfr-3.1.2.orig/configure
++++ mpfr-3.1.2/configure
+@@ -10401,7 +10401,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: mpfr-3.1.2/m4/libtool.m4
+===================================================================
+--- mpfr-3.1.2.orig/m4/libtool.m4
++++ mpfr-3.1.2/m4/libtool.m4
+@@ -1052,7 +1052,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' ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140913/95e16b81/attachment.html>
More information about the macports-changes
mailing list