Created attachment 222010 [details] New mpdecimal-2.5.1 port This is a new port of the latest mpdecimal release: https://www.bytereef.org/mpdecimal/index.html The port passes ``portlint -A'' and ``poudriere testport''. FreeBSD is a first tier platform for libmpdec/libmpdec++, so the build will always work out of the box in future releases. If you accept this port, it will be beneficial to move the Python build to --with-system-libmpdec in the future.
A commit references this bug: Author: swills Date: Fri Feb 5 03:27:39 UTC 2021 New revision: 564081 URL: https://svnweb.freebsd.org/changeset/ports/564081 Log: math/mpdecimal: create port libmpdec is a complete C implementation of the General Decimal Arithmetic Specification. The specification, written by Mike Cowlishaw from IBM, defines a general purpose arbitrary precision data type together with rigorously specified functions and rounding behavior. As described in the scope section of the specification, libmpdec will - with minor restrictions - also conform to the IEEE 754-2008 Standard for Floating-Point Arithmetic, provided that the appropriate context parameters are set. libmpdec++ is a complete C++ implementation of the General Decimal Arithmetic Specification. libmpdec++ is mostly a header library around libmpdec. The library frees users from manual memory management and has an easy API with inline operators. libmpdec++ has a thread local context for inline operators and other functions that use the implicit context. WWW: https://www.bytereef.org/mpdecimal/index.html PR: 253084 Submitted by: Stefan Krah <skrah@bytereef.org> Changes: head/math/Makefile head/math/mpdecimal/ head/math/mpdecimal/Makefile head/math/mpdecimal/distinfo head/math/mpdecimal/pkg-descr head/math/mpdecimal/pkg-plist
Committed, thanks!