summaryrefslogtreecommitdiff
path: root/security/skey/buildlink3.mk
blob: d06ec3332ddccd3bcfe763b53a9ac657a99ec415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: buildlink3.mk,v 1.8 2009/01/20 14:48:56 obache Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
SKEY_BUILDLINK3_MK:=	${SKEY_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nskey}
BUILDLINK_PACKAGES+=	skey
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}skey

.if !empty(SKEY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.skey+=	skey>=1.1.5
BUILDLINK_ABI_DEPENDS.skey?=	skey>=1.1.5nb2
BUILDLINK_PKGSRCDIR.skey?=	../../security/skey
BUILDLINK_DEPMETHOD.skey?=	build
.endif	# SKEY_BUILDLINK3_MK

.include "../../mk/bsd.fast.prefs.mk"

# PR#40434
.if ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+=	l:skey:skey:md5
.endif

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