aboutsummaryrefslogtreecommitdiff
path: root/math/mpfr/Makefile
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2012-08-13 14:45:36 +0000
committerAlex Dupre <ale@FreeBSD.org>2012-08-13 14:45:36 +0000
commit284cac9d879b6803580526e7552803d1f18782c8 (patch)
treeb2b405a0620b38f1c3a0fc935920599de56fb8f0 /math/mpfr/Makefile
parentd18e4a3b19077f880c9a51d98820b465091d53c3 (diff)
downloadports-284cac9d879b6803580526e7552803d1f18782c8.tar.gz
ports-284cac9d879b6803580526e7552803d1f18782c8.zip
Notes
Diffstat (limited to 'math/mpfr/Makefile')
-rw-r--r--math/mpfr/Makefile25
1 files changed, 15 insertions, 10 deletions
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile
index 834cbf095c2c..2767f66c04c0 100644
--- a/math/mpfr/Makefile
+++ b/math/mpfr/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mpfr
-PORTVERSION= 3.1.0
-PORTREVISION= 3
+PORTVERSION= 3.1.1
CATEGORIES= math devel
MASTER_SITES= http://www.mpfr.org/mpfr-current/
DIST_SUBDIR= ${DISTNAME}
@@ -20,26 +19,32 @@ COMMENT= A library for multiple-precision floating-point computations
LICENSE= LGPL3
-PATCH_DEPENDS= gpatch:${PORTSDIR}/devel/patch
-LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
+#PATCH_DEPENDS= gpatch:${PORTSDIR}/devel/patch
+LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
-PATCHLEVEL= 10
-PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
-PATCH= ${LOCALBASE}/bin/gpatch
+#PATCHLEVEL= 10
+#PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
+#PATCH= ${LOCALBASE}/bin/gpatch
USE_AUTOTOOLS= libtool
USE_GNOME= ltverhack
USE_XZ= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
- --disable-thread-safe
+CONFIGURE_ARGS= --with-gmp=${LOCALBASE}
+
USE_LDCONFIG= yes
INFO= mpfr
PORTDOCS= *
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 803000
+CONFIGURE_ARGS+= --disable-thread-safe
+.endif
+
.if defined(NOPORTDOCS)
post-patch:
@${REINPLACE_CMD} 's/install-nobase_dist_docDATA$$//' \
@@ -51,4 +56,4 @@ post-patch:
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>