summaryrefslogtreecommitdiff
path: root/devel/newt/buildlink3.mk
blob: 14c3c3aa7b9c18cb15db7d63cd55ed9560f72c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:47 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
NEWT_BUILDLINK3_MK:=	${NEWT_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nnewt}
BUILDLINK_PACKAGES+=	newt
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}newt

.if !empty(NEWT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.newt+=	newt>=0.51.6
BUILDLINK_ABI_DEPENDS.newt?=	newt>=0.51.6nb2
BUILDLINK_PKGSRCDIR.newt?=	../../devel/newt
.endif	# NEWT_BUILDLINK3_MK

.include "../../devel/libslang/buildlink3.mk"

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