From owner-svn-ports-head@freebsd.org Wed Nov 22 18:55:31 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD580DF2CAC; Wed, 22 Nov 2017 18:55:31 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9755F650E5; Wed, 22 Nov 2017 18:55:31 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAMItUv8029406; Wed, 22 Nov 2017 18:55:30 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAMItU2I029404; Wed, 22 Nov 2017 18:55:30 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201711221855.vAMItU2I029404@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 22 Nov 2017 18:55:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454700 - in head/math/pari: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math/pari: . files X-SVN-Commit-Revision: 454700 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 18:55:31 -0000 Author: yuri Date: Wed Nov 22 18:55:30 2017 New Revision: 454700 URL: https://svnweb.freebsd.org/changeset/ports/454700 Log: math/pari: Fixed install without threads; Removed MAKE_JOBS_UNSAFE; Added LICENSE_FILE PR: 222041 Submitted by: Anton Yuzhaninov Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13174 Deleted: head/math/pari/files/ Modified: head/math/pari/Makefile head/math/pari/pkg-plist Modified: head/math/pari/Makefile ============================================================================== --- head/math/pari/Makefile Wed Nov 22 18:51:37 2017 (r454699) +++ head/math/pari/Makefile Wed Nov 22 18:55:30 2017 (r454700) @@ -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 Modified: head/math/pari/pkg-plist ============================================================================== --- head/math/pari/pkg-plist Wed Nov 22 18:51:37 2017 (r454699) +++ head/math/pari/pkg-plist Wed Nov 22 18:55:30 2017 (r454700) @@ -19,8 +19,8 @@ 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