aboutsummaryrefslogtreecommitdiffstats
path: root/math/gmp-ecm
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2010-04-19 18:43:42 +0800
committerale <ale@FreeBSD.org>2010-04-19 18:43:42 +0800
commit6258613c3c402b1d7b5730e8a607d26dbb258755 (patch)
treefad3dbf503818032309e7103e30c646b5b51fdb7 /math/gmp-ecm
parentdfb5167da9e4fc0c1a6e54c5bc4678fc695d9571 (diff)
downloadfreebsd-ports-gnome-6258613c3c402b1d7b5730e8a607d26dbb258755.tar.gz
freebsd-ports-gnome-6258613c3c402b1d7b5730e8a607d26dbb258755.tar.zst
freebsd-ports-gnome-6258613c3c402b1d7b5730e8a607d26dbb258755.zip
Switch to use newer GMP version.
PR: ports/144487 Submitted by: ale Approved by: portmgr (-exp run by erwin)
Diffstat (limited to 'math/gmp-ecm')
-rw-r--r--math/gmp-ecm/Makefile17
-rw-r--r--math/gmp-ecm/distinfo6
2 files changed, 14 insertions, 9 deletions
diff --git a/math/gmp-ecm/Makefile b/math/gmp-ecm/Makefile
index ad2c44664c4d..98d0bf6a2007 100644
--- a/math/gmp-ecm/Makefile
+++ b/math/gmp-ecm/Makefile
@@ -6,18 +6,15 @@
#
PORTNAME= gmp-ecm
-PORTVERSION= 6.2.0
-PORTREVISION= 1
+PORTVERSION= 6.2.3
CATEGORIES= math
-MASTER_SITES= http://gforge.inria.fr/frs/download.php/4663/
+MASTER_SITES= https://gforge.inria.fr/frs/download.php/22124/
DISTNAME= ecm-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Elliptic Curve Method for Integer Factorization
-LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
-
-WRKSRC= ${WRKDIR}/ecm-${PORTVERSION:R}
+LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
@@ -27,4 +24,12 @@ CONFIGURE_ARGS= ac_cv_prog_XSLTPROC=no \
MAN1= ecm.1
PLIST_FILES= bin/ecm include/ecm.h lib/libecm.a lib/libecm.la
+post-patch:
+ @${REINPLACE_CMD} s/__GMP_BITS_PER_MP_LIMB/GMP_NUMB_BITS/g \
+ ${WRKSRC}/*.c ${WRKSRC}/*.h
+ @${REINPLACE_CMD} s/GMP_BITS_PER_LIMB/GMP_NUMB_BITS/g \
+ ${WRKSRC}/*.c ${WRKSRC}/*.h
+ @${REINPLACE_CMD} s/mp_bits_per_limb/GMP_NUMB_BITS/g \
+ ${WRKSRC}/*.c ${WRKSRC}/*.h
+
.include <bsd.port.mk>
diff --git a/math/gmp-ecm/distinfo b/math/gmp-ecm/distinfo
index f2f7eec82e23..b73dc0de8739 100644
--- a/math/gmp-ecm/distinfo
+++ b/math/gmp-ecm/distinfo
@@ -1,3 +1,3 @@
-MD5 (ecm-6.2.0.tar.gz) = 494484f18c542f3e01a96c047ba27d9a
-SHA256 (ecm-6.2.0.tar.gz) = a1b7ef18da70ff30d9f7763d9864380f094e912442dfc9f66e5070be513750ce
-SIZE (ecm-6.2.0.tar.gz) = 754417
+MD5 (ecm-6.2.3.tar.gz) = d8cca3784857aabfea9b3c9b0926c593
+SHA256 (ecm-6.2.3.tar.gz) = 1701bf036a1dfe447cafa7d69af035c17bc4a0822209e89b9187f25dfe829cc7
+SIZE (ecm-6.2.3.tar.gz) = 761357