summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2020-03-08 08:06:42 +0000
committerAlex Dupre <ale@FreeBSD.org>2020-03-08 08:06:42 +0000
commit3856a8ffcb982637218525a1c78638d0ee01a348 (patch)
treea51c668399a9755936ee46e9a086e26dfd12d925 /math
parentx11-themes/gtk-arc-themes: New upstream and update to 20190917 (diff)
Update to 6.2.0 release.
PR: 244658 Submitted by: daniel.engberg.lists@pyret.net
Notes
Notes: svn path=/head/; revision=528002
Diffstat (limited to 'math')
-rw-r--r--math/gmp/Makefile12
-rw-r--r--math/gmp/distinfo6
-rw-r--r--math/gmp/files/patch-configfsf.sub-spe20
-rw-r--r--math/gmp/files/patch-configure20
-rw-r--r--math/gmp/pkg-plist6
5 files changed, 15 insertions, 49 deletions
diff --git a/math/gmp/Makefile b/math/gmp/Makefile
index cabcd27b92de..ff80dcf10187 100644
--- a/math/gmp/Makefile
+++ b/math/gmp/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= gmp
-PORTVERSION= 6.1.2
-PORTREVISION= 1
+PORTVERSION= 6.2.0
CATEGORIES= math devel
MASTER_SITES= GNU
@@ -12,17 +11,18 @@ COMMENT= Free library for arbitrary precision arithmetic
LICENSE= LGPL3
+USES= libtool makeinfo tar:xz
+
OPTIONS_DEFINE= CPU_OPTS
CPU_OPTS_DESC= Enable assembly optimizations for your CPU
-USES= libtool makeinfo tar:xz
HAS_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split"
CONFIGURE_ARGS= --prefix=${PREFIX} \
--infodir=${PREFIX}/${INFO_PATH} \
--mandir=${PREFIX}/man \
--enable-cxx
-MAKE_JOBS_UNSAFE=yes
+
USE_LDCONFIG= yes
INFO= gmp
@@ -32,6 +32,10 @@ TEST_TARGET= check
.include <bsd.port.pre.mk>
+.if ${ARCH:Mmips*}
+MAKE_JOBS_UNSAFE=yes
+.endif
+
.if ! ${PORT_OPTIONS:MCPU_OPTS}
CONFIGURE_ARGS+=--build=${CONFIGURE_TARGET}
.elif ${ARCH:S/64//} != ${ARCH}
diff --git a/math/gmp/distinfo b/math/gmp/distinfo
index 5850f8c30655..a243a3ad3cf8 100644
--- a/math/gmp/distinfo
+++ b/math/gmp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487005782
-SHA256 (gmp-6.1.2.tar.xz) = 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912
-SIZE (gmp-6.1.2.tar.xz) = 1946336
+TIMESTAMP = 1583654160
+SHA256 (gmp-6.2.0.tar.xz) = 258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526
+SIZE (gmp-6.2.0.tar.xz) = 2012444
diff --git a/math/gmp/files/patch-configfsf.sub-spe b/math/gmp/files/patch-configfsf.sub-spe
deleted file mode 100644
index 58ac8c625137..000000000000
--- a/math/gmp/files/patch-configfsf.sub-spe
+++ /dev/null
@@ -1,20 +0,0 @@
---- configfsf.sub.bak 2017-04-04 10:18:23.262820000 -0500
-+++ configfsf.sub 2017-04-04 10:18:41.467015000 -0500
-@@ -301,7 +301,7 @@
- | ns16k | ns32k \
- | open8 | or1k | or1knd | or32 \
- | pdp10 | pdp11 | pj | pjl \
-- | powerpc | powerpc64 | powerpc64le | powerpcle \
-+ | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
- | pyramid \
- | riscv32 | riscv64 \
- | rl78 | rx \
-@@ -428,7 +428,7 @@
- | or1k*-* \
- | orion-* \
- | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
-- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
-+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | powerpcspe-* \
- | pyramid-* \
- | riscv32-* | riscv64-* \
- | rl78-* | romp-* | rs6000-* | rx-* \
diff --git a/math/gmp/files/patch-configure b/math/gmp/files/patch-configure
deleted file mode 100644
index 3cc6d158d28a..000000000000
--- a/math/gmp/files/patch-configure
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig 2016-12-16 15:45:32 UTC
-+++ configure
-@@ -6776,7 +6776,7 @@ main ()
- long i;
- for (i = 0; i < 88 + 1; i++)
- a[i] = ~0L;
-- r = malloc (10000 * sizeof (unsigned long));
-+ r = calloc (10000, sizeof(unsigned long));
- r2 = r;
- for (i = 0; i < 528; i += 23)
- {
-@@ -8394,7 +8394,7 @@ main ()
- long i;
- for (i = 0; i < 88 + 1; i++)
- a[i] = ~0L;
-- r = malloc (10000 * sizeof (unsigned long));
-+ r = calloc (10000, sizeof(unsigned long));
- r2 = r;
- for (i = 0; i < 528; i += 23)
- {
diff --git a/math/gmp/pkg-plist b/math/gmp/pkg-plist
index e5e282a69415..86c4ac962781 100644
--- a/math/gmp/pkg-plist
+++ b/math/gmp/pkg-plist
@@ -3,8 +3,10 @@ include/gmpxx.h
lib/libgmp.a
lib/libgmp.so
lib/libgmp.so.10
-lib/libgmp.so.10.3.2
+lib/libgmp.so.10.4.0
lib/libgmpxx.a
lib/libgmpxx.so
lib/libgmpxx.so.4
-lib/libgmpxx.so.4.5.2
+lib/libgmpxx.so.4.6.0
+libdata/pkgconfig/gmp.pc
+libdata/pkgconfig/gmpxx.pc