View | Details | Raw Unified | Return to bug 188832
Collapse All | Expand All

(-)Makefile (-5 / +8 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libgmp
4
PORTNAME=	libgmp
5
PORTVERSION=	5.1.3
5
PORTVERSION=	6.0.0
6
CATEGORIES=	math devel
6
CATEGORIES=	math devel
7
MASTER_SITES=	ftp://ftp.gmplib.org/pub/gmp-${PORTVERSION}/
7
MASTER_SITES=	GNU/gmp
8
PKGNAMEPREFIX=	mingw32-
8
PKGNAMEPREFIX=	mingw32-
9
DISTNAME=	gmp-${PORTVERSION}
9
DISTNAME=	gmp-${DISTVERSION}a
10
10
11
MAINTAINER=	cyberbotx@cyberbotx.com
11
MAINTAINER=	cyberbotx@cyberbotx.com
12
COMMENT=	Library for arbitrary precision arithmetic (MinGW32)
12
COMMENT=	Library for arbitrary precision arithmetic (MinGW32)
Lines 14-20 Link Here
14
BUILD_DEPENDS=	${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
14
BUILD_DEPENDS=	${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
15
		mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
15
		mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
16
16
17
USE_BZIP2=	yes
17
WRKSRC=		${WRKDIR}/gmp-${PORTVERSION}
18
19
USES=		tar:bzip2
18
GMP_TARG=	${PKGNAMEPREFIX:S/-$//}
20
GMP_TARG=	${PKGNAMEPREFIX:S/-$//}
19
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
20
CC=		${PKGNAMEPREFIX}gcc
22
CC=		${PKGNAMEPREFIX}gcc
Lines 21-27 Link Here
21
CXX=		${PKGNAMEPREFIX}c++
23
CXX=		${PKGNAMEPREFIX}c++
22
CFLAGS+=	-I/usr/include
24
CFLAGS+=	-I/usr/include
23
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split" \
25
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split" \
24
		PREFIX="${PREFIX}/${GMP_TARG}"
26
		PREFIX="${PREFIX}/${GMP_TARG}" \
27
		M4="/usr/bin/m4"
25
CONFIGURE_ARGS=	--enable-cxx --host=${GMP_TARG} \
28
CONFIGURE_ARGS=	--enable-cxx --host=${GMP_TARG} \
26
		--includedir=${PREFIX}/${GMP_TARG}/include \
29
		--includedir=${PREFIX}/${GMP_TARG}/include \
27
		--exec_prefix=${PREFIX}/${GMP_TARG} \
30
		--exec_prefix=${PREFIX}/${GMP_TARG} \
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (gmp-5.1.3.tar.bz2) = 752079520b4690531171d0f4532e40f08600215feefede70b24fabdc6f1ab160
1
SHA256 (gmp-6.0.0a.tar.bz2) = 7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf
2
SIZE (gmp-5.1.3.tar.bz2) = 2196480
2
SIZE (gmp-6.0.0a.tar.bz2) = 2319400

Return to bug 188832