Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 18:14:26 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r538334 - branches/2020Q2/math/ntl
Message-ID:  <202006091814.059IEQpe063981@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Jun  9 18:14:25 2020
New Revision: 538334
URL: https://svnweb.freebsd.org/changeset/ports/538334

Log:
  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)

Modified:
  branches/2020Q2/math/ntl/Makefile
  branches/2020Q2/math/ntl/distinfo
  branches/2020Q2/math/ntl/pkg-plist
Directory Properties:
  branches/2020Q2/   (props changed)

Modified: branches/2020Q2/math/ntl/Makefile
==============================================================================
--- branches/2020Q2/math/ntl/Makefile	Tue Jun  9 17:38:49 2020	(r538333)
+++ branches/2020Q2/math/ntl/Makefile	Tue Jun  9 18:14:25 2020	(r538334)
@@ -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,12 +30,21 @@ 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}

Modified: branches/2020Q2/math/ntl/distinfo
==============================================================================
--- branches/2020Q2/math/ntl/distinfo	Tue Jun  9 17:38:49 2020	(r538333)
+++ branches/2020Q2/math/ntl/distinfo	Tue Jun  9 18:14:25 2020	(r538334)
@@ -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

Modified: branches/2020Q2/math/ntl/pkg-plist
==============================================================================
--- branches/2020Q2/math/ntl/pkg-plist	Tue Jun  9 17:38:49 2020	(r538333)
+++ branches/2020Q2/math/ntl/pkg-plist	Tue Jun  9 18:14:25 2020	(r538334)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006091814.059IEQpe063981>