summaryrefslogtreecommitdiff
path: root/security/libtasn1/buildlink3.mk
blob: 8afbc6257a1d2f0d53da00d9992e136b2003ad91 (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.9 2006/07/08 23:11:07 jlam Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
LIBTASN1_BUILDLINK3_MK:=	${LIBTASN1_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibtasn1}
BUILDLINK_PACKAGES+=	libtasn1
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtasn1

.if !empty(LIBTASN1_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtasn1+=	libtasn1>=0.2.7
BUILDLINK_ABI_DEPENDS.libtasn1+=	libtasn1>=0.3.0
BUILDLINK_PKGSRCDIR.libtasn1?=	../../security/libtasn1
.endif	# LIBTASN1_BUILDLINK3_MK

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