summaryrefslogtreecommitdiff
path: root/devel/gmp/buildlink3.mk
blob: b8457b5ed32a18f401d42b2bbe4bde39782453ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: buildlink3.mk,v 1.6 2006/04/12 10:27:08 rillig Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
GMP_BUILDLINK3_MK:=	${GMP_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	gmp
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ngmp}
BUILDLINK_PACKAGES+=	gmp

.if !empty(GMP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gmp+=		gmp>=4.1.2
BUILDLINK_ABI_DEPENDS.gmp+=	gmp>=4.1.3nb1
BUILDLINK_PKGSRCDIR.gmp?=	../../devel/gmp
.endif	# GMP_BUILDLINK3_MK

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:S/+$//}