summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-22 00:42:29 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-22 00:42:29 +0000
commit7ec54f887911308313622b9f0b42d01cd79560a7 (patch)
tree43f145cf5743588d1d72dbbfe6812e08daeed999
parent- Move lpr binaries in base away, so cups binaries in /usr/local/bin (diff)
- Update to 2.1.5
- Respect CFLAGS PR: ports/56967 Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp> (maintainer) Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=94684
-rw-r--r--math/pari/Makefile9
-rw-r--r--math/pari/distinfo2
2 files changed, 9 insertions, 2 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 935e020f2399..9a6912fa2713 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pari
-PORTVERSION= 2.1.3
+PORTVERSION= 2.1.5
CATEGORIES= math
MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/ \
http://www.gn-50uma.de/ftp/pari-2.1/
@@ -18,8 +18,12 @@ INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= --prefix=${PREFIX} --share-prefix=${PREFIX}/share
+# build is broken on some locales
+CONFIGURE_ENV= LANG=C
+MAKE_ENV= LANG=C
USE_GMAKE= yes
+USE_REINPLACE= yes
MAKE_ARGS= gp
MAN1= gp.1 gphelp.1 tex2mail.1
@@ -30,4 +34,7 @@ HAVE_EMACS!= which emacs || echo nope
PLIST= ${PKGDIR}/pkg-plist.emacs
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
.include <bsd.port.mk>
diff --git a/math/pari/distinfo b/math/pari/distinfo
index a58f7de527ce..517495fd49ff 100644
--- a/math/pari/distinfo
+++ b/math/pari/distinfo
@@ -1 +1 @@
-MD5 (pari-2.1.3.tar.gz) = a694da54ee15a7abdf34d39407daf459
+MD5 (pari-2.1.5.tar.gz) = 194e9d1cc11926e457028c6a7cba15f0