diff options
Diffstat (limited to 'lang/lua')
-rw-r--r-- | lang/lua/buildlink3.mk | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/lang/lua/buildlink3.mk b/lang/lua/buildlink3.mk index f546c70d009..74e43bf9fec 100644 --- a/lang/lua/buildlink3.mk +++ b/lang/lua/buildlink3.mk @@ -1,21 +1,14 @@ -# $NetBSD: buildlink3.mk,v 1.11 2008/02/27 18:59:38 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.12 2009/03/20 19:24:50 joerg Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -LUA_BUILDLINK3_MK:= ${LUA_BUILDLINK3_MK}+ +BUILDLINK_TREE+= lua -.if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= lua -.endif +.if !defined(LUA_BUILDLINK3_MK) +LUA_BUILDLINK3_MK:= -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlua} -BUILDLINK_PACKAGES+= lua -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lua - -.if !empty(LUA_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.lua+= lua>=5.1.1 BUILDLINK_PKGSRCDIR.lua?= ../../lang/lua -.endif # LUA_BUILDLINK3_MK .include "../../devel/readline/buildlink3.mk" +.endif # LUA_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -lua |