diff options
-rw-r--r-- | math/pari/Makefile | 9 | ||||
-rw-r--r-- | math/pari/distinfo | 2 |
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 |