Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142213409
D13174.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D13174.diff
View Options
Index: head/math/pari/Makefile
===================================================================
--- head/math/pari/Makefile
+++ head/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 @@
--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_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 @@
${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
Index: head/math/pari/files/patch-Configure
===================================================================
--- head/math/pari/files/patch-Configure
+++ head/math/pari/files/patch-Configure
@@ -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
Index: head/math/pari/pkg-plist
===================================================================
--- head/math/pari/pkg-plist
+++ head/math/pari/pkg-plist
@@ -19,8 +19,8 @@
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 8:11 AM (4 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27706885
Default Alt Text
D13174.diff (2 KB)
Attached To
Mode
D13174: math/pari: Fixed install without threads; Removed MAKE_JOBS_UNSAFE; Added LICENSE_FILE.
Attached
Detach File
Event Timeline
Log In to Comment