summaryrefslogtreecommitdiff
path: root/devel/cunit/buildlink3.mk
blob: 01edbb5a12fa38badfda97d38adb2663f2c1989f (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.1.1 2009/01/10 21:03:58 agc Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
CUNIT_BUILDLINK3_MK:=	${CUNIT_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:NCUnit}
BUILDLINK_PACKAGES+=	CUnit
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}CUnit

.if ${CUNIT_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.CUnit+=	CUnit>=2.1
BUILDLINK_PKGSRCDIR.CUnit?=	../../devel/cunit
.endif	# CUNIT_BUILDLINK3_MK

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