aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-06-09 18:14:25 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-06-09 18:14:25 +0000
commit21ca0cf1aea5fef13af155265af1546499ec1042 (patch)
tree14a5d14301711b9312a67d7ad658c55d8b9fe6df
parent85fd72e11d82535636f495151051762b82383757 (diff)
downloadports-21ca0cf1aea5fef13af155265af1546499ec1042.tar.gz
ports-21ca0cf1aea5fef13af155265af1546499ec1042.zip
MFH: r531772 r538330
Update to 11.4.3 and add an option for gf2x. PR: 245109 Submitted by: /me Approved by: ports-secteam (joenum) math/ntl: Unbreak on systems incompatible with the system where the package was built -march=native caused SEGVs on incompatible systems Approved by: portmgr (unbreak)
Notes
Notes: svn path=/branches/2020Q2/; revision=538334
-rw-r--r--math/ntl/Makefile18
-rw-r--r--math/ntl/distinfo6
-rw-r--r--math/ntl/pkg-plist4
3 files changed, 19 insertions, 9 deletions
diff --git a/math/ntl/Makefile b/math/ntl/Makefile
index e17a6a389ea8..e397736f6637 100644
--- a/math/ntl/Makefile
+++ b/math/ntl/Makefile
@@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= ntl
-PORTVERSION= 11.4.1
+PORTVERSION= 11.4.3
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www.shoup.net/ntl/
@@ -29,13 +30,22 @@ TEST_TARGET= check
NTLDOCSDIR= share/doc/NTL
PLIST_SUB= NTLDOCS=${NTLDOCSDIR}
-OPTIONS_DEFINE= DOCS GMP
-OPTIONS_DEFAULT= GMP
+OPTIONS_DEFINE= DOCS GF2X GMP NATIVE
+OPTIONS_DEFAULT= GF2X GMP
-GMP_DESC= Arbitrary precision arithmetic(Faster)
+GMP_DESC= Arbitrary precision arithmetic (Faster)
GMP_LIB_DEPENDS= libgmp.so:math/gmp
GMP_CONFIGURE_OFF= NTL_GMP_LIP=off
+GF2X_DESC= Faster arithmetic over GF(2)[X] (the NTL class GF2X)
+GF2X_LIB_DEPENDS= libgf2x.so:math/gf2x
+GF2X_CONFIGURE_ON= NTL_GF2X_LIB=on
+GF2X_CONFIGURE_OFF= NTL_GF2X_LIB=off
+
+NATIVE_DESC= Build with native optimizations (-march=native)
+NATIVE_CONFIGURE_ON= NATIVE=on
+NATIVE_CONFIGURE_OFF= NATIVE=off
+
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR}
diff --git a/math/ntl/distinfo b/math/ntl/distinfo
index 783daea2a881..089d27e898bb 100644
--- a/math/ntl/distinfo
+++ b/math/ntl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1571455000
-SHA256 (ntl-11.4.1.tar.gz) = a30687c4fbb8f114200426d2b1ece840bd024f64e2c5c6920b2d11ebcd82620e
-SIZE (ntl-11.4.1.tar.gz) = 2272898
+TIMESTAMP = 1585334322
+SHA256 (ntl-11.4.3.tar.gz) = b7c1ccdc64840e6a24351eb4a1e68887d29974f03073a1941c906562c0b83ad2
+SIZE (ntl-11.4.3.tar.gz) = 2274421
diff --git a/math/ntl/pkg-plist b/math/ntl/pkg-plist
index 45f7e06213b8..1995e476c1e2 100644
--- a/math/ntl/pkg-plist
+++ b/math/ntl/pkg-plist
@@ -115,8 +115,8 @@ include/NTL/version.h
include/NTL/xdouble.h
lib/libntl.a
lib/libntl.so
-lib/libntl.so.42
-lib/libntl.so.42.0.1
+lib/libntl.so.43
+lib/libntl.so.43.0.1
%%NTLDOCS%%/BasicThreadPool.cpp.html
%%NTLDOCS%%/BasicThreadPool.txt
%%NTLDOCS%%/GF2.cpp.html