summaryrefslogtreecommitdiff
path: root/devel/check/buildlink3.mk
blob: 60c5c3a3226790f2bc0684ec99b4eefa53dd107b (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.1 2007/02/01 19:07:24 drochner Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
CHECK_BUILDLINK3_MK:=	${CHECK_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	check
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ncheck}
BUILDLINK_PACKAGES+=	check
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}check

.if ${CHECK_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.check+=	check>=0.9.5
BUILDLINK_PKGSRCDIR.check?=	../../devel/check
.endif	# CHECK_BUILDLINK3_MK

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