summaryrefslogtreecommitdiff
path: root/lang/lua/buildlink3.mk
blob: 62eba55f0d5af373af778778bb29c2b785416bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: buildlink3.mk,v 1.4 2005/09/04 04:59:36 jlam 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_RECOMMENDED.lua+=	lua>=5.0.2nb4
BUILDLINK_PKGSRCDIR.lua?=	../../lang/lua
.endif	# LUA_BUILDLINK3_MK

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