From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 21 08:20:23 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53EF216A41C for ; Tue, 21 Jun 2005 08:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01C0D43D4C for ; Tue, 21 Jun 2005 08:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5L8KDl7015728 for ; Tue, 21 Jun 2005 08:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5L8KD7S015727; Tue, 21 Jun 2005 08:20:13 GMT (envelope-from gnats) Resent-Date: Tue, 21 Jun 2005 08:20:13 GMT Resent-Message-Id: <200506210820.j5L8KD7S015727@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Bauer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DED716A41C for ; Tue, 21 Jun 2005 08:12:35 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18C2D43D48 for ; Tue, 21 Jun 2005 08:12:35 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j5L8CY7Q011135 for ; Tue, 21 Jun 2005 08:12:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j5L8CY5I011134; Tue, 21 Jun 2005 08:12:34 GMT (envelope-from nobody) Message-Id: <200506210812.j5L8CY5I011134@www.freebsd.org> Date: Tue, 21 Jun 2005 08:12:34 GMT From: Matthias Bauer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/82469: math/ntl port update X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2005 08:20:23 -0000 >Number: 82469 >Category: ports >Synopsis: math/ntl port update >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jun 21 08:20:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Matthias Bauer >Release: >Organization: >Environment: >Description: Update math/ntl version 5.3.1 -> 5.4 now depends on/links against libgmp4 unless $WITHOUT_GMP is set >How-To-Repeat: >Fix: diff -Nur ntl/Makefile ntl.new/Makefile --- ntl/Makefile Mon May 19 02:04:17 2003 +++ ntl.new/Makefile Tue May 17 23:18:34 2005 @@ -1,43 +1,42 @@ # New ports collection makefile for: ntl -# Date created: 18 June 2000 -# Whom: bauerm +# Date created: 14 June 2004 +# Whom: matthiasb # -# $FreeBSD$ +# $FreeBSD: ports/math/ntl/Makefile,v 1.10 2003/05/19 00:04:17 arved Exp $ # PORTNAME= ntl -PORTVERSION= 5.3.1 +PORTVERSION= 5.4 CATEGORIES= math MASTER_SITES= http://www.shoup.net/ntl/ MAINTAINER= matthiasb@acm.org COMMENT= Victor Shoup's Number Theory Library +# ntl is faster with libgmp4, but you can disable it +.if !defined(WITHOUT_GMP) LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 +.endif HAS_CONFIGURE= yes CONFIGURE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ - CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ - NTL_GMP_LIP=on GMP_PREFIX="${LOCALBASE}" -CONFIGURE_WRKSRC= ${BUILD_WRKSRC} + CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" NTL_STD_CXX=on +.if !defined(WITHOUT_GMP) +CONFIGURE_ARGS+= NTL_GMP_LIP=on GMP_PREFIX="${LOCALBASE}" +.endif + +CONFIGURE_WRKSRC= ${BUILD_WRKSRC} + BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= makefile -# Build with WITH_ISO_CXX=yes if you want to use the "Standard C++" -# version of NTL. In this version, all of NTL is "wrapped" inside -# the namespace NTL, and are no longer directly accessible---you must -# either use explicit qualification, or using directives, or -# using declarations. - -.if defined(WITH_ISO_CXX) -CONFIGURE_ARGS+= NTL_STD_CXX=on -.endif - do-install: ${MKDIR} ${PREFIX}/include/NTL ${INSTALL_DATA} ${WRKSRC}/include/NTL/* ${PREFIX}/include/NTL/ ${INSTALL_DATA} ${BUILD_WRKSRC}/ntl.a ${PREFIX}/lib/libntl.a + +post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/NTL ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/NTL/ diff -Nur ntl/distinfo ntl.new/distinfo --- ntl/distinfo Wed Mar 31 05:09:30 2004 +++ ntl.new/distinfo Sat May 7 15:37:24 2005 @@ -1,2 +1,2 @@ -MD5 (ntl-5.3.1.tar.gz) = 07e28598b9b50197b36723f7f536e293 -SIZE (ntl-5.3.1.tar.gz) = 669649 +MD5 (ntl-5.4.tar.gz) = 1d2a683ecbc12cdf03bf92dbc97c0dd4 +SIZE (ntl-5.4.tar.gz) = 681173 diff -Nur ntl/pkg-descr ntl.new/pkg-descr --- ntl/pkg-descr Mon Sep 3 05:33:45 2001 +++ ntl.new/pkg-descr Tue May 17 23:17:18 2005 @@ -8,6 +8,8 @@ - vectors and matrices over extensions - finite rings +Unless you define WITHOUT_GMP, NTL requires libgmp4. + WWW: http://www.shoup.net/ Matthias Bauer diff -Nur ntl/pkg-plist ntl.new/pkg-plist --- ntl/pkg-plist Thu Aug 8 17:54:29 2002 +++ ntl.new/pkg-plist Sun May 8 19:34:50 2005 @@ -1,4 +1,3 @@ -@comment $FreeBSD: ports/math/ntl/pkg-plist,v 1.5 2002/02/03 22:15:22 naddy Exp $ include/NTL/FFT.h include/NTL/FacVec.h include/NTL/GF2.h @@ -11,6 +10,7 @@ include/NTL/HNF.h include/NTL/LLL.h include/NTL/RR.h +include/NTL/SPMM_ASM.h include/NTL/WordVector.h include/NTL/ZZ.h include/NTL/ZZVec.h @@ -89,86 +89,86 @@ include/NTL/version.h include/NTL/xdouble.h lib/libntl.a -%%PORTDOCS%%share/doc/NTL/GF2.txt -%%PORTDOCS%%share/doc/NTL/GF2E.txt -%%PORTDOCS%%share/doc/NTL/GF2EX.txt -%%PORTDOCS%%share/doc/NTL/GF2EXFactoring.txt -%%PORTDOCS%%share/doc/NTL/GF2X.txt -%%PORTDOCS%%share/doc/NTL/GF2XFactoring.txt -%%PORTDOCS%%share/doc/NTL/GF2XVec.txt -%%PORTDOCS%%share/doc/NTL/HNF.txt -%%PORTDOCS%%share/doc/NTL/LLL.txt -%%PORTDOCS%%share/doc/NTL/RR.txt -%%PORTDOCS%%share/doc/NTL/ZZ.txt -%%PORTDOCS%%share/doc/NTL/ZZVec.txt -%%PORTDOCS%%share/doc/NTL/ZZX.txt -%%PORTDOCS%%share/doc/NTL/ZZXFactoring.txt -%%PORTDOCS%%share/doc/NTL/ZZ_p.txt -%%PORTDOCS%%share/doc/NTL/ZZ_pE.txt -%%PORTDOCS%%share/doc/NTL/ZZ_pEX.txt -%%PORTDOCS%%share/doc/NTL/ZZ_pEXFactoring.txt -%%PORTDOCS%%share/doc/NTL/ZZ_pX.txt -%%PORTDOCS%%share/doc/NTL/ZZ_pXFactoring.txt -%%PORTDOCS%%share/doc/NTL/arrow1.gif -%%PORTDOCS%%share/doc/NTL/arrow2.gif -%%PORTDOCS%%share/doc/NTL/arrow3.gif -%%PORTDOCS%%share/doc/NTL/config.txt -%%PORTDOCS%%share/doc/NTL/conversions.txt -%%PORTDOCS%%share/doc/NTL/copying.txt -%%PORTDOCS%%share/doc/NTL/flags.txt -%%PORTDOCS%%share/doc/NTL/lzz_p.txt -%%PORTDOCS%%share/doc/NTL/lzz_pE.txt -%%PORTDOCS%%share/doc/NTL/lzz_pEX.txt -%%PORTDOCS%%share/doc/NTL/lzz_pEXFactoring.txt -%%PORTDOCS%%share/doc/NTL/lzz_pX.txt -%%PORTDOCS%%share/doc/NTL/lzz_pXFactoring.txt -%%PORTDOCS%%share/doc/NTL/mat_GF2.txt -%%PORTDOCS%%share/doc/NTL/mat_GF2E.txt -%%PORTDOCS%%share/doc/NTL/mat_RR.txt -%%PORTDOCS%%share/doc/NTL/mat_ZZ.txt -%%PORTDOCS%%share/doc/NTL/mat_ZZ_p.txt -%%PORTDOCS%%share/doc/NTL/mat_ZZ_pE.txt -%%PORTDOCS%%share/doc/NTL/mat_lzz_p.txt -%%PORTDOCS%%share/doc/NTL/mat_lzz_pE.txt -%%PORTDOCS%%share/doc/NTL/mat_poly_ZZ.txt -%%PORTDOCS%%share/doc/NTL/mat_poly_ZZ_p.txt -%%PORTDOCS%%share/doc/NTL/mat_poly_lzz_p.txt -%%PORTDOCS%%share/doc/NTL/matrix.txt -%%PORTDOCS%%share/doc/NTL/names.txt -%%PORTDOCS%%share/doc/NTL/pair.txt -%%PORTDOCS%%share/doc/NTL/quad_float.txt -%%PORTDOCS%%share/doc/NTL/sedscript.txt -%%PORTDOCS%%share/doc/NTL/tools.txt -%%PORTDOCS%%share/doc/NTL/tour-ack.html -%%PORTDOCS%%share/doc/NTL/tour-changes.html -%%PORTDOCS%%share/doc/NTL/tour-ex1.html -%%PORTDOCS%%share/doc/NTL/tour-ex2.html -%%PORTDOCS%%share/doc/NTL/tour-ex3.html -%%PORTDOCS%%share/doc/NTL/tour-ex4.html -%%PORTDOCS%%share/doc/NTL/tour-ex5.html -%%PORTDOCS%%share/doc/NTL/tour-ex6.html -%%PORTDOCS%%share/doc/NTL/tour-examples.html -%%PORTDOCS%%share/doc/NTL/tour-gmp.html -%%PORTDOCS%%share/doc/NTL/tour-impl.html -%%PORTDOCS%%share/doc/NTL/tour-intro.html -%%PORTDOCS%%share/doc/NTL/tour-modules.html -%%PORTDOCS%%share/doc/NTL/tour-roadmap.html -%%PORTDOCS%%share/doc/NTL/tour-stdcxx.html -%%PORTDOCS%%share/doc/NTL/tour-struct.html -%%PORTDOCS%%share/doc/NTL/tour-time.html -%%PORTDOCS%%share/doc/NTL/tour-unix.html -%%PORTDOCS%%share/doc/NTL/tour-win.html -%%PORTDOCS%%share/doc/NTL/tour.html -%%PORTDOCS%%share/doc/NTL/vec_GF2.txt -%%PORTDOCS%%share/doc/NTL/vec_GF2E.txt -%%PORTDOCS%%share/doc/NTL/vec_RR.txt -%%PORTDOCS%%share/doc/NTL/vec_ZZ.txt -%%PORTDOCS%%share/doc/NTL/vec_ZZ_p.txt -%%PORTDOCS%%share/doc/NTL/vec_ZZ_pE.txt -%%PORTDOCS%%share/doc/NTL/vec_lzz_p.txt -%%PORTDOCS%%share/doc/NTL/vec_lzz_pE.txt -%%PORTDOCS%%share/doc/NTL/vector.txt -%%PORTDOCS%%share/doc/NTL/version.txt -%%PORTDOCS%%share/doc/NTL/xdouble.txt +share/doc/NTL/GF2.txt +share/doc/NTL/GF2E.txt +share/doc/NTL/GF2EX.txt +share/doc/NTL/GF2EXFactoring.txt +share/doc/NTL/GF2X.txt +share/doc/NTL/GF2XFactoring.txt +share/doc/NTL/GF2XVec.txt +share/doc/NTL/HNF.txt +share/doc/NTL/LLL.txt +share/doc/NTL/RR.txt +share/doc/NTL/ZZ.txt +share/doc/NTL/ZZVec.txt +share/doc/NTL/ZZX.txt +share/doc/NTL/ZZXFactoring.txt +share/doc/NTL/ZZ_p.txt +share/doc/NTL/ZZ_pE.txt +share/doc/NTL/ZZ_pEX.txt +share/doc/NTL/ZZ_pEXFactoring.txt +share/doc/NTL/ZZ_pX.txt +share/doc/NTL/ZZ_pXFactoring.txt +share/doc/NTL/arrow1.gif +share/doc/NTL/arrow2.gif +share/doc/NTL/arrow3.gif +share/doc/NTL/config.txt +share/doc/NTL/conversions.txt +share/doc/NTL/copying.txt +share/doc/NTL/flags.txt +share/doc/NTL/lzz_p.txt +share/doc/NTL/lzz_pE.txt +share/doc/NTL/lzz_pEX.txt +share/doc/NTL/lzz_pEXFactoring.txt +share/doc/NTL/lzz_pX.txt +share/doc/NTL/lzz_pXFactoring.txt +share/doc/NTL/mat_GF2.txt +share/doc/NTL/mat_GF2E.txt +share/doc/NTL/mat_RR.txt +share/doc/NTL/mat_ZZ.txt +share/doc/NTL/mat_ZZ_p.txt +share/doc/NTL/mat_ZZ_pE.txt +share/doc/NTL/mat_lzz_p.txt +share/doc/NTL/mat_lzz_pE.txt +share/doc/NTL/mat_poly_ZZ.txt +share/doc/NTL/mat_poly_ZZ_p.txt +share/doc/NTL/mat_poly_lzz_p.txt +share/doc/NTL/matrix.txt +share/doc/NTL/names.txt +share/doc/NTL/pair.txt +share/doc/NTL/quad_float.txt +share/doc/NTL/sedscript.txt +share/doc/NTL/tools.txt +share/doc/NTL/tour-ack.html +share/doc/NTL/tour-changes.html +share/doc/NTL/tour-ex1.html +share/doc/NTL/tour-ex2.html +share/doc/NTL/tour-ex3.html +share/doc/NTL/tour-ex4.html +share/doc/NTL/tour-ex5.html +share/doc/NTL/tour-ex6.html +share/doc/NTL/tour-examples.html +share/doc/NTL/tour-gmp.html +share/doc/NTL/tour-impl.html +share/doc/NTL/tour-intro.html +share/doc/NTL/tour-modules.html +share/doc/NTL/tour-roadmap.html +share/doc/NTL/tour-stdcxx.html +share/doc/NTL/tour-struct.html +share/doc/NTL/tour-time.html +share/doc/NTL/tour-unix.html +share/doc/NTL/tour-win.html +share/doc/NTL/tour.html +share/doc/NTL/vec_GF2.txt +share/doc/NTL/vec_GF2E.txt +share/doc/NTL/vec_RR.txt +share/doc/NTL/vec_ZZ.txt +share/doc/NTL/vec_ZZ_p.txt +share/doc/NTL/vec_ZZ_pE.txt +share/doc/NTL/vec_lzz_p.txt +share/doc/NTL/vec_lzz_pE.txt +share/doc/NTL/vector.txt +share/doc/NTL/version.txt +share/doc/NTL/xdouble.txt +@dirrm share/doc/NTL @dirrm include/NTL -%%PORTDOCS%%@dirrm share/doc/NTL >Release-Note: >Audit-Trail: >Unformatted: