diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2017-11-22 18:55:30 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2017-11-22 18:55:30 +0000 |
commit | 7c95d801abdb2ce52664ec04382c6350e27aceb6 (patch) | |
tree | 4b1a19db70067a5062e312dcbecb7f49a6ea5ddc /math/pari/Makefile | |
parent | New port: databases/pspg: Tabular data pager designed to be used with psql (diff) |
math/pari: Fixed install without threads; Removed MAKE_JOBS_UNSAFE; Added LICENSE_FILE
PR: 222041
Submitted by: Anton Yuzhaninov <citrin+pr@citrin.ru>
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D13174
Notes
Notes:
svn path=/head/; revision=454700
Diffstat (limited to 'math/pari/Makefile')
-rw-r--r-- | math/pari/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile index cf3ea7c6c639..5a9c6f103d88 100644 --- a/math/pari/Makefile +++ b/math/pari/Makefile @@ -2,16 +2,18 @@ # $FreeBSD$ PORTNAME= pari -PORTVERSION= 2.9.3 +DISTVERSION= 2.9.3 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= math MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ \ http://mirrors.rit.edu/zi/ -MAINTAINER= yuri@rawbw.com +MAINTAINER= yuri@FreeBSD.org COMMENT= Mathematics library and advanced calculator package LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp @@ -24,7 +26,6 @@ CONFIGURE_ARGS= --mandir=${MANPREFIX}/man/man1 \ --prefix=${PREFIX} \ --with-readline ALL_TARGET= gp -MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS X11 OPTIONS_RADIO= THREADS @@ -49,14 +50,14 @@ MPI_CONFIGURE_ON= --mt=mpi --with-gmp=${LOCALBASE} MPI_CONFIGURE_ENV= CC=${LOCALBASE}/bin/mpicc OPTIONS_SUB= yes -PLIST_SUB= GP_VERSION=${GP_VERSION} PORTVERSION=${PORTVERSION} +PLIST_SUB= GP_VERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} PORTDATA= * PORTDOCS= * PORTEXAMPLES= * -GP_VERSION= ${PORTVERSION:R} - post-patch: + @${REINPLACE_CMD} -E '/libpari_base\=/s/-tls|-gmp//' \ + ${WRKSRC}/Configure @${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \ ${WRKSRC}/config/get_cc @${REINPLACE_CMD} -e 's|-lX11|-L${LOCALBASE}/lib -lX11|' \ @@ -65,7 +66,7 @@ post-patch: ${WRKSRC}/config/get_readline post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpari-gmp*.so.* + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpari.so.${PORTVERSION} do-test-PTHREADS-on: @cd ${WRKSRC} && ${MAKE_CMD} test-parallel |