pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/lua



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jun 30 14:45:05 UTC 2020

Modified Files:
        pkgsrc/lang/lua: luaversion.mk

Log Message:
lua: Add support to the infrastructure to Lua 5.4

Much more testing is required before this can be a default.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/lua/luaversion.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/lua/luaversion.mk
diff -u pkgsrc/lang/lua/luaversion.mk:1.11 pkgsrc/lang/lua/luaversion.mk:1.12
--- pkgsrc/lang/lua/luaversion.mk:1.11  Mon Mar 30 09:38:05 2020
+++ pkgsrc/lang/lua/luaversion.mk       Tue Jun 30 14:45:05 2020
@@ -1,4 +1,4 @@
-# $NetBSD: luaversion.mk,v 1.11 2020/03/30 09:38:05 nia Exp $
+# $NetBSD: luaversion.mk,v 1.12 2020/06/30 14:45:05 nia 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 53
+#      Possible values: 51 52 53 54
 #      Default: 53
 #
 # === Infrastructure variables ===
@@ -27,13 +27,13 @@
 #      is significant; those listed earlier are preferred over those
 #      listed later.
 #
-#      Possible values: 51 52 53
-#      Default: 53 52 51
+#      Possible values: 51 52 53 54
+#      Default: 54 53 52 51
 #
 # LUA_VERSIONS_INCOMPATIBLE
 #      The Lua versions that the package *cannot* build against.
 #
-#      Possible values: 51 52 53
+#      Possible values: 51 52 53 54
 #      Default: <empty>
 #
 # LUA_SELF_CONFLICT
@@ -80,7 +80,7 @@ BUILD_DEFS+=          LUA_VERSION_DEFAULT
 BUILD_DEFS_EFFECTS+=   LUA_PACKAGE
 
 LUA_VERSION_DEFAULT?=  53
-LUA_VERSIONS_ACCEPTED?=        53 52 51
+LUA_VERSIONS_ACCEPTED?=        54 53 52 51
 LUA_VERSIONS_INCOMPATIBLE?=# empty
 
 #
@@ -126,7 +126,13 @@ CONFLICTS+=        ${PKGNAME:S/lua${_LUA_VERSIO
 .endfor
 .endif
 
-.if ${_LUA_VERSION} == "52"
+.if ${_LUA_VERSION} == "51"
+LUA_PACKAGE=           lua51
+LUA_PKGSRCDIR=         ../../lang/lua51
+LUA_PKGPREFIX=         lua51
+LUA_BASEDEPENDS=       lua51>=5.1<5.2:${LUA_PKGSRCDIR}
+
+.elif ${_LUA_VERSION} == "52"
 LUA_PACKAGE=           lua52
 LUA_PKGSRCDIR=         ../../lang/lua52
 LUA_PKGPREFIX=         lua52
@@ -138,11 +144,11 @@ 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
-LUA_PKGPREFIX=         lua51
-LUA_BASEDEPENDS=       lua51>=5.1<5.2:${LUA_PKGSRCDIR}
+.elif ${_LUA_VERSION} == "54"
+LUA_PACKAGE=           lua54
+LUA_PKGSRCDIR=         ../../lang/lua54
+LUA_PKGPREFIX=         lua54
+LUA_BASEDEPENDS=       lua54>=5.4<5.5:${LUA_PKGSRCDIR}
 
 .else
 PKG_FAIL_REASON+=      "No valid Lua version found"



Home | Main Index | Thread Index | Old Index