summaryrefslogtreecommitdiff
path: root/lang/lua/buildlink3.mk
blob: 995e649b2dffe4ac9cc5a0a29e01bdd848c585f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: buildlink3.mk,v 1.3 2004/04/05 15:19:49 xtraeme Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LUA_BUILDLINK3_MK:=	${LUA_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlua}
BUILDLINK_PACKAGES+=	lua

.if !empty(LUA_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.lua+=		lua>=5.0.2
BUILDLINK_PKGSRCDIR.lua?=	../../lang/lua
.endif	# LUA_BUILDLINK3_MK

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