aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-06-09 17:09:46 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-06-09 17:09:46 +0000
commitf994800f0299c8e2d10cf0db50f6d01d212a17d6 (patch)
tree21e16dbda9a04c44aca33f32dcb5b73019423ad3 /math
parent6e99cb1aa7c3f901d73e4f4ebbb0ad3fce224c25 (diff)
downloadports-f994800f0299c8e2d10cf0db50f6d01d212a17d6.tar.gz
ports-f994800f0299c8e2d10cf0db50f6d01d212a17d6.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/ntl/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/math/ntl/Makefile b/math/ntl/Makefile
index b3865f3c5b2f..e397736f6637 100644
--- a/math/ntl/Makefile
+++ b/math/ntl/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ntl
PORTVERSION= 11.4.3
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www.shoup.net/ntl/
@@ -29,7 +30,7 @@ TEST_TARGET= check
NTLDOCSDIR= share/doc/NTL
PLIST_SUB= NTLDOCS=${NTLDOCSDIR}
-OPTIONS_DEFINE= DOCS GF2X GMP
+OPTIONS_DEFINE= DOCS GF2X GMP NATIVE
OPTIONS_DEFAULT= GF2X GMP
GMP_DESC= Arbitrary precision arithmetic (Faster)
@@ -41,6 +42,10 @@ 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}