Index: head/math/pari/files/patch-Configure =================================================================== --- head/math/pari/files/patch-Configure (revision 454699) +++ head/math/pari/files/patch-Configure (nonexistent) @@ -1,15 +0,0 @@ ---- Configure.orig 2017-05-28 16:56:49 UTC -+++ Configure -@@ -104,9 +104,9 @@ case $kernlvl1 in - gmp) libpari_base=pari-gmp;; - none) libpari_base=pari;; - esac --case $enable_tls in --yes) libpari_base="${libpari_base}-tls" --esac -+#case $enable_tls in -+#yes) libpari_base="${libpari_base}-tls" -+#esac - - if test `expr $VersionMinor % 2` = 0; then - libpari_base=$libpari_base-$version Property changes on: head/math/pari/files/patch-Configure ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/pari/Makefile =================================================================== --- head/math/pari/Makefile (revision 454699) +++ head/math/pari/Makefile (revision 454700) @@ -1,76 +1,77 @@ # Created by: Yoshiaki UCHIKAWA # $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 USES= perl5 readline USE_LDCONFIG= yes USE_PERL5= build HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure 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 OPTIONS_RADIO_THREADS= PTHREADS MPI OPTIONS_DEFAULT= OPTIMIZED_CFLAGS X11 PTHREADS THREADS_DESC= Thread engine (single-threaded when none is selected) PTHREADS_DESC= Enable pthread thread engine MPI_DESC= Enable MPI thread engine MPI_BUILD_ENV= CC=mpicc .ifndef WITH_DEBUG OPTIMIZED_CFLAGS_CFLAGS= -O3 -fno-strict-aliasing -fomit-frame-pointer .endif X11_CONFIGURE_ON= --graphic=X11 X11_CONFIGURE_OFF= --graphic=none X11_USE= xorg=x11 MPI_RUN_DEPENDS= ${LOCALBASE}/bin/mpirun:net/mpich2 MPI_BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:net/mpich2 MPI_LIB_DEPENDS= libgmp.so:math/gmp PTHREADS_LIB_DEPENDS= libgmp.so:math/gmp PTHREADS_CONFIGURE_ON= --mt=pthread --with-gmp=${LOCALBASE} 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|' \ ${WRKSRC}/config/get_X11 @${REINPLACE_CMD} -e 's|-lreadline|-L${LOCALBASE}/lib -lreadline|' \ ${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 do-test-MPI-on: @cd ${WRKSRC} && ${MAKE_CMD} test-parallel RUNTEST="mpirun -np 3" .include Index: head/math/pari/pkg-plist =================================================================== --- head/math/pari/pkg-plist (revision 454699) +++ head/math/pari/pkg-plist (revision 454700) @@ -1,30 +1,30 @@ bin/gp bin/gp-%%GP_VERSION%% bin/gphelp bin/tex2mail include/pari/mpinl.h include/pari/genpari.h include/pari/pari.h include/pari/paricast.h include/pari/paricfg.h include/pari/paricom.h include/pari/paridecl.h include/pari/parierr.h include/pari/parigen.h include/pari/pariinl.h include/pari/parimt.h include/pari/parinf.h include/pari/pariold.h include/pari/paripriv.h include/pari/paristio.h include/pari/parisys.h include/pari/paritune.h -lib/libpari-gmp.so.%%PORTVERSION%% -lib/libpari-gmp.so.5 +lib/libpari.so.%%PORTVERSION%% +lib/libpari.so.5 lib/libpari.so lib/pari/pari.cfg man/man1/gp-%%GP_VERSION%%.1.gz man/man1/gp.1.gz man/man1/gphelp.1.gz man/man1/pari.1.gz man/man1/tex2mail.1.gz