summaryrefslogtreecommitdiff
path: root/security/policykit/buildlink3.mk
blob: d72f2db89acb7fb42ee2833ef6fb5faac6a8ad54 (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.1.1.1 2008/11/22 03:33:38 jmcneill Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
POLICYKIT_BUILDLINK3_MK:=	${POLICYKIT_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	policykit
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npolicykit}
BUILDLINK_PACKAGES+=	policykit
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}policykit

.if ${POLICYKIT_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.policykit+=	policykit>=0.9
BUILDLINK_PKGSRCDIR.policykit?=	../../security/policykit
.endif	# POLICYKIT_BUILDLINK3_MK

.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"

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