summaryrefslogtreecommitdiff
path: root/devel/gmp/buildlink3.mk
blob: d900d94807c9ed158e97ee1fe0bc6be72625ad76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: buildlink3.mk,v 1.2 2004/01/24 03:26:46 jlam Exp $

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

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

.if !empty(GMP_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+=		gmp
BUILDLINK_DEPENDS.gmp+=		gmp>=4.1.2
BUILDLINK_PKGSRCDIR.gmp?=	../../devel/gmp

.endif # GMP_BUILDLINK3_MK

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