summaryrefslogtreecommitdiff
path: root/net/libnids/buildlink3.mk
blob: 80644cf89b2aac1732ab3fe7a2e978ae0c39aa0c (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.3 2006/04/12 10:27:29 rillig Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LIBNIDS_BUILDLINK3_MK:=	${LIBNIDS_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibnids}
BUILDLINK_PACKAGES+=	libnids

.if !empty(LIBNIDS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libnids+=	libnids>=1.18
BUILDLINK_PKGSRCDIR.libnids?=	../../net/libnids
BUILDLINK_DEPMETHOD.libnids?=	build
.endif	# LIBNIDS_BUILDLINK3_MK

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