Hi,

It seems we don't have lua 5.4. The attached tarball adds it, and the attached 
diff adds support for lua54 FLAVOR.

I only tested luarocks with 5.4 (modification not included in this diff).s

Comments or OK to import lang/lua/5.4 ?

Thanks.
-- 
Sebastien Marie

Attachment: lua54.tgz
Description: application/tar-gz

diff /home/semarie/repos/openbsd/ports
commit - a0371aa87aff5e61ca33d637c92f3dccfc3d3666
path + /home/semarie/repos/openbsd/ports
blob - c942d9f84c3c15762b6f1e8fe9a372c63736daa4
file + lang/lua/Makefile
--- lang/lua/Makefile
+++ lang/lua/Makefile
@@ -2,6 +2,7 @@
     SUBDIR += 5.1
     SUBDIR += 5.2
     SUBDIR += 5.3
+    SUBDIR += 5.4
 
 .include <bsd.port.subdir.mk>
 
blob - ba6908983bf1d3a0f1553a85220564ed2b9d8e29
file + lang/lua/lua.port.mk
--- lang/lua/lua.port.mk
+++ lang/lua/lua.port.mk
@@ -15,6 +15,8 @@ MODLUA_VERSION =              5.3
 MODLUA_VERSION =               5.2
 .elif ${FLAVOR:Mlua53}
 MODLUA_VERSION =               5.3
+.elif ${FLAVOR:Mlua54}
+MODLUA_VERSION =               5.4
 .else
 MODLUA_VERSION ?=              ${MODLUA_DEFAULT_VERSION}
 .endif
@@ -28,6 +30,9 @@ MODLUA_FLAVOR =               lua53
 .elif "${MODLUA_VERSION}" == "5.3"
 _MODLUA_PKG_PREFIX =   lua53
 MODLUA_FLAVOR =                lua53
+.elif "${MODLUA_VERSION}" == "5.4"
+_MODLUA_PKG_PREFIX =   lua54
+MODLUA_FLAVOR =                lua54
 .else
 ERRORS +=              "Invalid MODLUA_VERSION set: ${MODLUA_VERSION}."
 .endif

Reply via email to