summaryrefslogtreecommitdiff
path: root/math/mpfr
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-04-22 15:13:26 +0000
committerwiz <wiz@pkgsrc.org>2012-04-22 15:13:26 +0000
commit427d783cabe4fb0c000edcedda91cff69fa1ede3 (patch)
tree14a736e715ed1a8559b571a6e7e11f324e35e9b0 /math/mpfr
parentd8fd62f9015f1dd5442b30a717f21fc5493d563e (diff)
downloadpkgsrc-427d783cabe4fb0c000edcedda91cff69fa1ede3.tar.gz
Update to 3.1.0:
Changes from versions 3.0.* to version 3.1.0: - The "canard à l'orange" release. - The MPFR source has been reorganized. - Dropped ansi2knr support. - TLS support is now detected automatically. If TLS is supported, MPFR is built as thread safe by default. To disable TLS explicitly, configure MPFR with --disable-thread-safe. - New --enable-gmp-internals configure option to use GMP's undocumented functions (not from the public API). Note that library versioning is not guaranteed to work if this option is used. - The mpfr_urandom and mpfr_urandomb functions now return identical values on processors with different word size (assuming the same random seed, and since the GMP random generator does not depend itself on the word size, cf http://gmplib.org/list-archives/gmp-devel/2010-September/001642.html). - The mpfr_add_one_ulp and mpfr_sub_one_ulp macros (which are obsolete and no more documented) will be removed in a future release. - Speed improvement for the mpfr_sqr and mpfr_div functions using Mulders' algorithm. As a consequence, other functions using those routines are also faster. - Much faster formatted output (mpfr_printf, etc.) with %Rg and similar. - The --with-gmp-build configure option can now be used when the GMP source directory and the GMP build directory are different (without having to copy header files manually as before). - New functions mpfr_buildopt_gmpinternals_p, mpfr_buildopt_tune_case, mpfr_frexp, mpfr_grandom and mpfr_z_sub. - New divide-by-zero exception (flag) and associated functions. - The mpfr.h header can be included several times, while still supporting optional functions (see Section "Headers and Libraries" in the manual). - Updated tuning parameters. - Improved MPFR manual. - MPFR tests: libtool no longer generates wrapper scripts with "make check" (so that running the tests under valgrind or gdb is easier). - Bug fixes. Note: The mpfr_subnormalize implementation up to MPFR 3.0.0 did not change the flags. In particular, it did not follow the generic rule concerning the inexact flag (and no special behavior was specified). The case of the underflow flag was more a lack of specification. NetBSD-6.99.4/amd64: All 160 tests passed (1 test was not run)
Diffstat (limited to 'math/mpfr')
-rw-r--r--math/mpfr/Makefile25
-rw-r--r--math/mpfr/distinfo17
-rw-r--r--math/mpfr/inplace.mk3
3 files changed, 14 insertions, 31 deletions
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile
index c16325d558d..7cfd35ae8fc 100644
--- a/math/mpfr/Makefile
+++ b/math/mpfr/Makefile
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.19 2011/05/08 21:06:51 asau Exp $
+# $NetBSD: Makefile,v 1.20 2012/04/22 15:13:26 wiz Exp $
#
-DISTNAME= mpfr-3.0.1
-PKGNAME= ${DISTNAME}.3 # append patch level
+DISTNAME= mpfr-3.1.0
+#PKGNAME= ${DISTNAME}.3 # append patch level
CATEGORIES= math
-MASTER_SITES= http://www.mpfr.org/mpfr-3.0.1/
+MASTER_SITES= http://www.mpfr.org/mpfr-3.1.0/
+EXTRACT_SUFX= .tar.xz
-DIST_SUBDIR= ${DISTNAME}
-
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= patch01 patch02 patch03
-PATCH_DIST_STRIP= -p1
+#DIST_SUBDIR= ${DISTNAME}
+#PATCH_SITES= ${MASTER_SITES}
+#PATCHFILES= patch01 patch02 patch03
+#PATCH_DIST_STRIP= -p1
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.mpfr.org/
@@ -23,13 +23,6 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
TEST_TARGET= check
INFO_FILES= yes
-###
-### XXX These definitions are defined here merely to keep configure from
-### needlessly whining about them.
-###
-###
-MAKE_ENV+= AUTOCONF=${TRUE}
-MAKE_ENV+= AUTOMAKE=${TRUE}
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/mpfr/distinfo b/math/mpfr/distinfo
index 03011993e9a..da1227e285d 100644
--- a/math/mpfr/distinfo
+++ b/math/mpfr/distinfo
@@ -1,14 +1,5 @@
-$NetBSD: distinfo,v 1.12 2011/05/08 21:06:51 asau Exp $
+$NetBSD: distinfo,v 1.13 2012/04/22 15:13:26 wiz Exp $
-SHA1 (mpfr-3.0.1/mpfr-3.0.1.tar.gz) = caa0609934c0d2ffa29bd11bfa9c05fbade130eb
-RMD160 (mpfr-3.0.1/mpfr-3.0.1.tar.gz) = cff7306c13e5a858d9188450ecf0e4efcfbfcce8
-Size (mpfr-3.0.1/mpfr-3.0.1.tar.gz) = 1478243 bytes
-SHA1 (mpfr-3.0.1/patch01) = 88bffb4c5588072e1e56f026b092a873e46a4bfc
-RMD160 (mpfr-3.0.1/patch01) = 0e4d56846156369de6ce3cd3984cb060cbd3720a
-Size (mpfr-3.0.1/patch01) = 3899 bytes
-SHA1 (mpfr-3.0.1/patch02) = 3a4d9617e15d1fc3ecbf5f8f945dc5e6e76abdb7
-RMD160 (mpfr-3.0.1/patch02) = 2ad3e67f5626d1ef5735121b6d5baf0a7bb4e892
-Size (mpfr-3.0.1/patch02) = 3282 bytes
-SHA1 (mpfr-3.0.1/patch03) = 60c98873696c897e406e1106e62cff02d320d1d0
-RMD160 (mpfr-3.0.1/patch03) = df4b3c54f9ef6beaa35a88198edf9c80f35e8e41
-Size (mpfr-3.0.1/patch03) = 3347 bytes
+SHA1 (mpfr-3.1.0.tar.xz) = fae7d5b1e607c9208f0076d6931ff44dc169e143
+RMD160 (mpfr-3.1.0.tar.xz) = 21bf56fce66a0e3851da069806683061d290c7ab
+Size (mpfr-3.1.0.tar.xz) = 1083128 bytes
diff --git a/math/mpfr/inplace.mk b/math/mpfr/inplace.mk
index e949f6dc640..55531105e11 100644
--- a/math/mpfr/inplace.mk
+++ b/math/mpfr/inplace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: inplace.mk,v 1.1 2012/04/13 11:00:14 hans Exp $
+# $NetBSD: inplace.mk,v 1.2 2012/04/22 15:13:26 wiz Exp $
#
# Include this file to extract math/mpfr source into the WRKSRC of
# another package. This is to be used by GCC packages to avoid the
@@ -10,4 +10,3 @@ extract-inplace-mpfr:
(cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES fetch patch clean)
${MV} ${WRKSRC}/mpfr-* ${WRKSRC}/mpfr
-