summaryrefslogtreecommitdiff
path: root/lang/lua4/buildlink3.mk
blob: 3dfcc34d6abdb67b1b1077ec50bd95108ceacc57 (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 2006/07/08 22:39:23 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LUA4_BUILDLINK3_MK:=	${LUA4_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlua4}
BUILDLINK_PACKAGES+=	lua4
BUILDLINK_ORDER+=	lua4

.if !empty(LUA4_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lua4+=	lua4>=4.0.1
BUILDLINK_PKGSRCDIR.lua4?=	../../lang/lua4
.endif	# LUA4_BUILDLINK3_MK

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