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

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
SYSEXITS_BUILDLINK3_MK:=	${SYSEXITS_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nsysexits}
BUILDLINK_PACKAGES+=	sysexits
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sysexits

.if !empty(SYSEXITS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sysexits+=	sysexits>=1.1
BUILDLINK_DEPMETHOD.sysexits?=	build
BUILDLINK_PKGSRCDIR.sysexits?=	../../devel/sysexits
.endif	# SYSEXITS_BUILDLINK3_MK

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