edb1a92fa2
This is a small module that aims to make it easier to write Lua code in a Lua-5.3-style that runs on Lua 5.3, 5.2, and 5.1. It does *not* make Lua 5.2 (or even 5.1) entirely compatible with Lua 5.3, but it brings the API closer to that of Lua 5.3.
13 lines
428 B
Makefile
13 lines
428 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2020/07/08 14:25:38 nia Exp $
|
|
|
|
BUILDLINK_TREE+= lua-compat53
|
|
|
|
.if !defined(LUA_COMPAT53_BUILDLINK3_MK)
|
|
LUA_COMPAT53_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.lua-compat53+= ${LUA_PKGPREFIX}-compat53>=0.7
|
|
BUILDLINK_PKGSRCDIR.lua-compat53?= ../../devel/lua-compat53
|
|
BUILDLINK_CONTENTS_FILTER.lua-compat53?= ${EGREP} '(\.c$$|\.h$$)'
|
|
.endif # LUA_COMPAT53_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -lua-compat53
|