summaryrefslogtreecommitdiff
path: root/devel/nspr/buildlink3.mk
blob: e099c36eb7cc6e2777625d4fe69f53427b87f04e (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
# $NetBSD: buildlink3.mk,v 1.2 2005/02/03 17:54:21 jschauma Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
NSPR_BUILDLINK3_MK:=	${NSPR_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nnspr}
BUILDLINK_PACKAGES+=	nspr

.if !empty(NSPR_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.nspr+=	nspr>=4.4.1nb1
BUILDLINK_RECOMMENDED.nspr+=	nspr>=4.4.1nb1
BUILDLINK_PKGSRCDIR.nspr?=	../../devel/nspr

BUILDLINK_FILES.nspr+=   	lib/nspr/*
BUILDLINK_FILES.nspr+=   	include/nspr/*

BUILDLINK_INCDIRS.nspr+=	include/nspr
BUILDLINK_LIBDIRS.nspr+=	lib/nspr
BUILDLINK_RPATHDIRS.nspr+=	lib/nspr

.endif  # NSPR_BUILDLINK3_MK

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