diff options
author | alnsn <alnsn@pkgsrc.org> | 2015-01-17 17:54:59 +0000 |
---|---|---|
committer | alnsn <alnsn@pkgsrc.org> | 2015-01-17 17:54:59 +0000 |
commit | a4bf229b21a39666c5083c865952d6144b437c10 (patch) | |
tree | 3356261ea3f0f345ea75c371a097c44cab94b895 /lang/lua | |
parent | f79092b0c982be0b68464c5bb7d06b5bdedcb663 (diff) | |
download | pkgsrc-a4bf229b21a39666c5083c865952d6144b437c10.tar.gz |
Add support for Lua 5.3.
Diffstat (limited to 'lang/lua')
-rw-r--r-- | lang/lua/luaversion.mk | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lang/lua/luaversion.mk b/lang/lua/luaversion.mk index 8267fe0bc61..3f822c6928f 100644 --- a/lang/lua/luaversion.mk +++ b/lang/lua/luaversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: luaversion.mk,v 1.6 2014/12/07 05:10:43 obache Exp $ +# $NetBSD: luaversion.mk,v 1.7 2015/01/17 17:54:59 alnsn Exp $ # This file determins which Lua version is used as a dependency for # a package. @@ -8,7 +8,7 @@ # LUA_VERSION_DEFAULT # The preferred lua version to use. # -# Possible values: 51 52 +# Possible values: 51 52 53 # Default: 52 # # === Infrastructure variables === @@ -27,13 +27,13 @@ # is significant; those listed earlier are preferred over those # listed later. # -# Possible values: 51 52 -# Default: 52 51 +# Possible values: 51 52 53 +# Default: 52 53 51 # # LUA_VERSIONS_INCOMPATIBLE # The Lua versions that the package *cannot* build against. # -# Possible values: 51 52 +# Possible values: 51 52 53 # Default: <empty> # # LUA_SELF_CONFLICT @@ -80,7 +80,7 @@ BUILD_DEFS+= LUA_VERSION_DEFAULT BUILD_DEFS_EFFECTS+= LUA_PACKAGE LUA_VERSION_DEFAULT?= 52 -LUA_VERSIONS_ACCEPTED?= 52 51 +LUA_VERSIONS_ACCEPTED?= 52 53 51 LUA_VERSIONS_INCOMPATIBLE?=# empty # @@ -132,6 +132,12 @@ LUA_PKGSRCDIR= ../../lang/lua52 LUA_PKGPREFIX= lua52 LUA_BASEDEPENDS= lua52>=5.2<5.3:${LUA_PKGSRCDIR} +.elif ${_LUA_VERSION} == "53" +LUA_PACKAGE= lua53 +LUA_PKGSRCDIR= ../../lang/lua53 +LUA_PKGPREFIX= lua53 +LUA_BASEDEPENDS= lua53>=5.3<5.4:${LUA_PKGSRCDIR} + .elif ${_LUA_VERSION} == "51" LUA_PACKAGE= lua51 LUA_PKGSRCDIR= ../../lang/lua51 |