ports/132103: [ports] math/pari update (for performance)
Yoshiaki Uchikawa
yoshiaki at kt.rim.or.jp
Wed Feb 25 16:50:02 UTC 2009
>Number: 132103
>Category: ports
>Synopsis: [ports] math/pari update (for performance)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 25 16:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yoshiaki Uchikawa
>Release: FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD strato.tertio.atoll 7.1-STABLE FreeBSD 7.1-STABLE #0: Tue Feb 17 23:42:12 JST 2009 yoshiaki at strato.tertio.atoll:/usr/src/sys/i386/compile/STRATO i386
>Description:
>How-To-Repeat:
>Fix:
I want to change the setting for the performance improvement.
add Configure option --with-gmp
diff -ruN pari.org/Makefile pari/Makefile
--- pari.org/Makefile 2008-09-01 18:30:38.000000000 +0900
+++ pari/Makefile 2009-02-26 01:12:29.000000000 +0900
@@ -7,6 +7,7 @@
PORTNAME= pari
PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/
DISTNAME= pari-${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}
@@ -17,10 +18,11 @@
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
-CONFIGURE_ARGS= --prefix=${PREFIX} --share-prefix=${PREFIX}/share
+CONFIGURE_ARGS= --prefix=${PREFIX} --share-prefix=${PREFIX}/share --with-gmp
MAKE_ARGS= gp
PLIST_SUB= MAJOR_VERSION=${MAJOR_VERSION} MINOR_VERSION=${MINOR_VERSION} REV_VERSION=${REV_VERSION}
+LIB_DEPENDS¡ágmp.7:${PORTSDIR}/math/libgmp4
MAJOR_VERSION= 2
MINOR_VERSION= 3
diff -ruN pari.org/pkg-plist pari/pkg-plist
--- pari.org/pkg-plist 2008-09-01 18:30:38.000000000 +0900
+++ pari/pkg-plist 2009-02-26 00:09:37.000000000 +0900
@@ -19,8 +19,8 @@
include/pari/pariport.h
include/pari/paridecl.h
include/pari/genpari.h
-lib/libpari.so.%%MAJOR_VERSION%%.%%MINOR_VERSION%%.%%REV_VERSION%%
-lib/libpari.so.%%MAJOR_VERSION%%
+lib/libpari-gmp.so.%%MAJOR_VERSION%%.%%MINOR_VERSION%%.%%REV_VERSION%%
+lib/libpari-gmp.so.%%MAJOR_VERSION%%
lib/libpari.so
lib/pari/pari.cfg
%%DOCSDIR%%/AUTHORS
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list