summaryrefslogtreecommitdiff
path: root/net/libcares/buildlink3.mk
blob: 4dedddbc527b1676b423a8d546e367c00a4dbbbe (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.6 2006/07/18 22:38:18 adrianp Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
LIBCARES_BUILDLINK3_MK:=	${LIBCARES_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibcares}
BUILDLINK_PACKAGES+=	libcares
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcares

.if !empty(LIBCARES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcares+=	libcares>=1.3.0nb1
BUILDLINK_PKGSRCDIR.libcares?=	../../net/libcares
.endif	# LIBCARES_BUILDLINK3_MK

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