aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2015-11-22 01:20:24 +0800
committerrakuco <rakuco@FreeBSD.org>2015-11-22 01:20:24 +0800
commit68dd36ce70baebb9616bface45f0618b6b42015c (patch)
treee7481fdb45d26cc9556b32ff944ee8dd26acf101 /math
parentdc2f866ccf38525cd4c3afe175c7f36046422c0c (diff)
downloadfreebsd-ports-graphics-68dd36ce70baebb9616bface45f0618b6b42015c.tar.gz
freebsd-ports-graphics-68dd36ce70baebb9616bface45f0618b6b42015c.tar.zst
freebsd-ports-graphics-68dd36ce70baebb9616bface45f0618b6b42015c.zip
Update math/mpir to 2.7.2.
- Set LICENSE_FILE. - Depend on devel/yasm instead of building a bundled yasm. - Remove post-install target, the build system takes care of creating the proper soversion symlinks. - Bump PORTREVISION in dependent ports due to a change in the soversion number.
Diffstat (limited to 'math')
-rw-r--r--math/mpir/Makefile18
-rw-r--r--math/mpir/distinfo4
2 files changed, 9 insertions, 13 deletions
diff --git a/math/mpir/Makefile b/math/mpir/Makefile
index 5cce678fbc9..76af062b66f 100644
--- a/math/mpir/Makefile
+++ b/math/mpir/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mpir
-PORTVERSION= 2.7.0
+PORTVERSION= 2.7.2
CATEGORIES= math
MASTER_SITES= http://mpir.org/
@@ -10,16 +10,18 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Multiprecision integer library
LICENSE= LGPL3
-#LICENSE_FILE= ${WRKSRC}/COPYING.LIB
+LICENSE_FILE= ${WRKSRC}/COPYING.LIB
+
+BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
USES= libtool tar:bzip2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-cxx
+CONFIGURE_ARGS= --enable-cxx --with-system-yasm
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-MPIR_VERSION= 10.6.0
-MPIRXX_VERSION= 4.4.0
+MPIR_VERSION= 16.6.2
+MPIRXX_VERSION= 8.4.2
INFO= mpir
@@ -34,12 +36,6 @@ PLIST_FILES= include/mpir.h \
lib/libmpirxx.so.${MPIRXX_VERSION} \
lib/libmpirxx.so.${MPIRXX_VERSION:R:R}
-post-install:
- ${LN} -sf libmpir.so.${MPIR_VERSION} \
- ${STAGEDIR}${PREFIX}/lib/libmpir.so.${MPIR_VERSION:R:R}
- ${LN} -sf libmpirxx.so.${MPIRXX_VERSION} \
- ${STAGEDIR}${PREFIX}/lib/libmpirxx.so.${MPIRXX_VERSION:R:R}
-
regression-test:
${MAKE_CMD} -C ${WRKSRC} check
diff --git a/math/mpir/distinfo b/math/mpir/distinfo
index 9dec42d678e..47d80ced9b2 100644
--- a/math/mpir/distinfo
+++ b/math/mpir/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mpir-2.7.0.tar.bz2) = a27d73da19b47552e6328511a061ec70f0cf119419c9a9e1838c8cf4f1420392
-SIZE (mpir-2.7.0.tar.bz2) = 3798772
+SHA256 (mpir-2.7.2.tar.bz2) = a7d4c33595b4f781a51c92d5d139ec2efb3cf1bf101dfc3eef5b40c54e6f45ec
+SIZE (mpir-2.7.2.tar.bz2) = 3771429