summaryrefslogtreecommitdiff
path: root/net/libdnet/buildlink3.mk
blob: 2a815e313eaecb50407af9b2b4f9d4e2ab2444eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: buildlink3.mk,v 1.1 2004/04/20 07:56:31 xtraeme Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LIBDNET_BUILDLINK3_MK:=	${LIBDNET_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibdnet}
BUILDLINK_PACKAGES+=	libdnet

.if !empty(LIBDNET_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.libdnet+=	libdnet>=1.7
BUILDLINK_PKGSRCDIR.libdnet?=	../../net/libdnet
.endif	# LIBDNET_BUILDLINK3_MK

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