pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/lua Add support for Lua 5.3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/46904a0c417e
branches: trunk
changeset: 644813:46904a0c417e
user: alnsn <alnsn%pkgsrc.org@localhost>
date: Sat Jan 17 17:54:59 2015 +0000
description:
Add support for Lua 5.3.
diffstat:
lang/lua/luaversion.mk | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diffs (57 lines):
diff -r 74fea9e5af9f -r 46904a0c417e lang/lua/luaversion.mk
--- a/lang/lua/luaversion.mk Sat Jan 17 17:53:38 2015 +0000
+++ b/lang/lua/luaversion.mk Sat Jan 17 17:54:59 2015 +0000
@@ -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_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_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
Home |
Main Index |
Thread Index |
Old Index