<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/58de5d66f45c658cac8fd260349f28a1fec12f6c">https://github.com/macports/macports-ports/commit/58de5d66f45c658cac8fd260349f28a1fec12f6c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 58de5d66f45 mpfr: bump to 4.1.0
</span>58de5d66f45 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 58de5d66f45c658cac8fd260349f28a1fec12f6c
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Fri Sep 11 18:52:06 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> mpfr: bump to 4.1.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> minor simplifications
</span>---
devel/mpfr/Portfile | 52 +++++++++++++++++++++++-----------------------------
1 file changed, 23 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/mpfr/Portfile b/devel/mpfr/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 981feb5d839..714c924b2ea 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/mpfr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/mpfr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,15 +9,22 @@ PortGroup muniversal 1.0
</span> PortGroup compiler_blacklist_versions 1.0
PortGroup xcode_workaround 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name mpfr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# The actual version is generated below, after patchfiles is defined.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set base_version 4.0.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories devel math
</span> platforms darwin
<span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel math
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name mpfr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.mpfr.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/${distname}
</span> license LGPL-3+
maintainers {larryv @larryv} openmaintainer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6958142bcb36021cc03006acd694e5da724e6a0e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1525476
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description C library for multiple-precision floating-point \
computations
long_description MPFR is a portable C library for arbitrary-precision \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,44 +34,31 @@ long_description MPFR is a portable C library for arbitrary-precision \
</span> has a well-defined semantics. It copies the good \
ideas from the ANSI/IEEE-754 standard for \
fixed-precision floating-point arithmetic.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.mpfr.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:gmp
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${name}-${base_version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://www.mpfr.org/${distname}
</span> use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${distname}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 14fb12027e7be8d4aa84b8cb8d8dc8769c35b899 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1441996
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:gmp
</span>
# see https://trac.macports.org/ticket/60091
xcode_workaround.fixed_xcode_version 11.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Upstream patch names are not qualified with the base version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir ${name}/${base_version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.args -p1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles {*}[lsearch -all -inline ${checksums} {patch[0-9][0-9]}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set patch_level [llength ${patchfiles}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${patch_level} > 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version ${base_version}-p${patch_level}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version ${base_version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # 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, however this will break
# any project that requires a thread-safe mpfr library, therefore the Xcode 4.2 compiler is
# blacklisted here
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist {clang == 211.10.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang == 211.10.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the OS toolchains on these systems do not support TLS.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # macports-clang-N also does not presently build this correctly on these systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # A multithreaded mpfr is possible on these systems by building with a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # current gcc version but that involves a cyclical dep at present
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-thread-safe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
test.run yes
test.target check
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.version ${base_version}
</span> livecheck.url http://www.mpfr.org/mpfr-current/
livecheck.regex "mpfr-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</pre><pre style='margin:0'>
</pre>