aboutsummaryrefslogtreecommitdiff
path: root/math/mingw32-libgmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/mingw32-libgmp/Makefile')
-rw-r--r--math/mingw32-libgmp/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/math/mingw32-libgmp/Makefile b/math/mingw32-libgmp/Makefile
index e5b2f83cf201..dd5d1ac500c7 100644
--- a/math/mingw32-libgmp/Makefile
+++ b/math/mingw32-libgmp/Makefile
@@ -2,11 +2,11 @@
# $FreeBSD$
PORTNAME= libgmp
-PORTVERSION= 5.1.3
+PORTVERSION= 6.0.0
CATEGORIES= math devel
-MASTER_SITES= ftp://ftp.gmplib.org/pub/gmp-${PORTVERSION}/
+MASTER_SITES= GNU/gmp
PKGNAMEPREFIX= mingw32-
-DISTNAME= gmp-${PORTVERSION}
+DISTNAME= gmp-${DISTVERSION}a
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Library for arbitrary precision arithmetic (MinGW32)
@@ -14,6 +14,8 @@ COMMENT= Library for arbitrary precision arithmetic (MinGW32)
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
+WRKSRC= ${WRKDIR}/gmp-${PORTVERSION}
+
USES= makeinfo tar:bzip2
GMP_TARG= ${PKGNAMEPREFIX:S/-$//}
GNU_CONFIGURE= yes
@@ -21,7 +23,8 @@ CC= ${PKGNAMEPREFIX}gcc
CXX= ${PKGNAMEPREFIX}c++
CFLAGS+= -I/usr/include
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" \
- PREFIX="${PREFIX}/${GMP_TARG}"
+ PREFIX="${PREFIX}/${GMP_TARG}" \
+ M4="/usr/bin/m4"
CONFIGURE_ARGS= --enable-cxx --host=${GMP_TARG} \
--includedir=${PREFIX}/${GMP_TARG}/include \
--exec_prefix=${PREFIX}/${GMP_TARG} \