diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2009-03-14 15:12:04 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2009-03-14 15:12:04 +0800 |
commit | dcbe0b758e121d2bbfe9f23176c64f9659f05da9 (patch) | |
tree | d4895525a6abe91d88d03bbe6f4f94ea45dbac2c /math | |
parent | 9376647aa87c831497f55e51f0aafc8873437540 (diff) | |
download | freebsd-ports-gnome-dcbe0b758e121d2bbfe9f23176c64f9659f05da9.tar.gz freebsd-ports-gnome-dcbe0b758e121d2bbfe9f23176c64f9659f05da9.tar.zst freebsd-ports-gnome-dcbe0b758e121d2bbfe9f23176c64f9659f05da9.zip |
- Add --with-gmp configuration option for performance improvement
PR: ports/132103
Submitted by: Yoshiaki Uchikawa <yoshiaki AT kt.rim.or.jp>
Diffstat (limited to 'math')
-rw-r--r-- | math/pari/Makefile | 5 | ||||
-rw-r--r-- | math/pari/pkg-plist | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile index e2b8dd8cb0c1..54cfebd41fce 100644 --- a/math/pari/Makefile +++ b/math/pari/Makefile @@ -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} @@ -14,10 +15,12 @@ DISTNAME= pari-${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Mathematics library and advanced calculator package +LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 + 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} diff --git a/math/pari/pkg-plist b/math/pari/pkg-plist index 569f3144ad1d..e242dd862a98 100644 --- a/math/pari/pkg-plist +++ b/math/pari/pkg-plist @@ -19,8 +19,8 @@ include/pari/parisys.h 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 |