aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-11-19 09:29:29 +0000
committerThierry Thomas <thierry@FreeBSD.org>2023-11-19 09:34:29 +0000
commitc696d5b0e3b3d29ce93d9daaa14bca100826a36c (patch)
treea07eee5ce6146a03b5ca61f2cd19a8c4f2c82635
parent5425c341bda4255b1499f0778eb52ba99d785957 (diff)
downloadports-c696d5b0e3b3d29ce93d9daaa14bca100826a36c.tar.gz
ports-c696d5b0e3b3d29ce93d9daaa14bca100826a36c.zip
math/gmp-ecm: upgrade to 7.0.5
Changelog at <https://gitlab.inria.fr/zimmerma/ecm/-/blob/master/ChangeLog>. Also add a test target. PR: 268927 Reported by: dclarke (at) blastwave.org
-rw-r--r--math/gmp-ecm/Makefile16
-rw-r--r--math/gmp-ecm/distinfo6
2 files changed, 8 insertions, 14 deletions
diff --git a/math/gmp-ecm/Makefile b/math/gmp-ecm/Makefile
index 3782c5b263f8..2da9bcaf0367 100644
--- a/math/gmp-ecm/Makefile
+++ b/math/gmp-ecm/Makefile
@@ -1,8 +1,7 @@
PORTNAME= gmp-ecm
-DISTVERSION= 7.0.4
-PORTREVISION= 1
+DISTVERSION= 7.0.5
CATEGORIES= math
-MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/36224/
+MASTER_SITES= https://gitlab.inria.fr/zimmerma/ecm/uploads/${GL_TAG}/
DISTNAME= ecm-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -17,12 +16,15 @@ LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libgmp.so:math/gmp
USES= gmake libtool
+
+GL_TAG= 89f6f0d65d3e980cef33dc922004e4b2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ac_cv_prog_XSLTPROC=no \
--with-gmp=${LOCALBASE} \
--enable-shared \
--disable-static
INSTALL_TARGET= install-strip
+TEST_TARGET= check
PLIST_FILES= bin/ecm include/ecm.h \
lib/libecm.so \
@@ -30,12 +32,4 @@ PLIST_FILES= bin/ecm include/ecm.h \
lib/libecm.so.1.0.0 \
man/man1/ecm.1.gz
-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 43293fb7c022..2c7b86db085e 100644
--- a/math/gmp-ecm/distinfo
+++ b/math/gmp-ecm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522429265
-SHA256 (ecm-7.0.4.tar.gz) = 0cf7b3eee8462cc6f98b418b47630e1eb6b3f4f8c3fc1fb005b08e2a1811ba43
-SIZE (ecm-7.0.4.tar.gz) = 1101899
+TIMESTAMP = 1700324792
+SHA256 (ecm-7.0.5.tar.gz) = c721dd22e557c4a5dac9ac7e156a400cd2298812dd1f9b56e89966de01471ba8
+SIZE (ecm-7.0.5.tar.gz) = 1159568