head 1.2; access; symbols pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2025.05.06.16.01.19; author wiz; state dead; branches; next 1.1; commitid NggnXkHYEV7izRTF; 1.1 date 2024.12.24.10.52.58; author wiz; state Exp; branches; next ; commitid 6pKoIsBKlAlA8KCF; desc @@ 1.2 log @mpdecimal: update to 4.0.1. Version 4.0.1 ------------- build/install ~~~~~~~~~~~~~ **features** - Add Cygwin support. - Update config.guess and config.sub to the latest versions. **build fixes** - Fix pkg-config files for custom paths. - Set LD/LDXX unconditionally to CC/CXX, since LDFLAGS/LDXXFLAGS from ./configure rely on it. - macOS: use libdir instead of RPATH for the install_name. @ text @$NetBSD: patch-configure,v 1.1 2024/12/24 10:52:58 wiz Exp $ Fix dynamic library install name on Darwin. --- configure.orig 2024-12-22 07:39:18.885702870 +0000 +++ configure @@@@ -2843,7 +2843,7 @@@@ case $host in LIBNAME="libmpdec.dylib" LIBSONAME="libmpdec.4.dylib" LIBSHARED="libmpdec.4.0.0.dylib" - CONFIGURE_LDFLAGS="-dynamiclib $FPIC -install_name @@rpath/$LIBSONAME -compatibility_version 4.0 -current_version 4.0.0" + CONFIGURE_LDFLAGS="-dynamiclib $FPIC -install_name ${PREFIX}/lib/$LIBSONAME -compatibility_version 4.0 -current_version 4.0.0" ;; *-*-aix*) LIBNAME= @@@@ -2887,7 +2887,7 @@@@ case $host in LIBNAME_CXX="libmpdec++.dylib" LIBSONAME_CXX="libmpdec++.4.dylib" LIBSHARED_CXX="libmpdec++.4.0.0.dylib" - CONFIGURE_LDXXFLAGS="-dynamiclib $FPIC -install_name @@rpath/$LIBSONAME_CXX -compatibility_version 4.0 -current_version 4.0.0" + CONFIGURE_LDXXFLAGS="-dynamiclib $FPIC -install_name ${PREFIX}/lib/$LIBSONAME_CXX -compatibility_version 4.0 -current_version 4.0.0" ;; *-*-aix*) LIBNAME_CXX= @ 1.1 log @math/mpdecimal: import mpdecimal-4.0.0 Worked on in wip by Stefan Krah, bsiegert, adam, and myself. 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. @ text @d1 1 a1 1 $NetBSD$ @