summaryrefslogtreecommitdiff
path: root/lang/ossp-js/buildlink3.mk
blob: 40728daae7447e1494d738a315e798b70debeae5 (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.3 2008/02/06 10:10:45 bjs Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
OSSP_JS_BUILDLINK3_MK:=	${OSSP_JS_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	ossp-js
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nossp-js}
BUILDLINK_PACKAGES+=	ossp-js
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ossp-js

.if ${OSSP_JS_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.ossp-js+=	ossp-js>=1.6.20070208nb1
BUILDLINK_PKGSRCDIR.ossp-js?=	../../lang/ossp-js
.  include "../../lang/ossp-js/libm.mk"
.endif	# OSSP_JS_BUILDLINK3_MK

.include "../../mk/dlopen.buildlink3.mk"

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