I have a similar diff/port on a machine at home, ok to import etc. (I started going through the other Lua ports to figure out which work with 5.5 and which don't but didn't finish them which is why I didn't send it before :)

--
 Sent from a phone, apologies for poor formatting.

On 30 August 2026 16:50:59 Daniel Dickman <[email protected]> wrote:

Hello, wayland/Hyprland needs lua 5.5.

ok to import this + apply the diff below?

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/lua/Makefile,v
diff -u -p -u -r1.49 Makefile
--- Makefile    25 Dec 2022 13:40:19 -0000      1.49
+++ Makefile    30 Aug 2026 15:38:56 -0000
@@ -3,6 +3,7 @@
    SUBDIR += 5.2
    SUBDIR += 5.3
    SUBDIR += 5.4
+    SUBDIR += 5.5

.include <bsd.port.subdir.mk>

Index: lua.port.mk
===================================================================
RCS file: /cvs/ports/lang/lua/lua.port.mk,v
diff -u -p -u -r1.38 lua.port.mk
--- lua.port.mk 16 Sep 2023 07:57:23 -0000      1.38
+++ lua.port.mk 30 Aug 2026 15:38:56 -0000
@@ -17,6 +17,8 @@ MODLUA_VERSION =              5.2
MODLUA_VERSION =                5.3
.elif ${FLAVOR:Mlua54}
MODLUA_VERSION =                5.4
+.elif ${FLAVOR:Mlua55}
+MODLUA_VERSION =               5.5
.else
MODLUA_VERSION ?=               ${MODLUA_DEFAULT_VERSION}
.endif
@@ -33,6 +35,9 @@ MODLUA_FLAVOR =               lua53
.elif "${MODLUA_VERSION}" == "5.4"
_MODLUA_PKG_PREFIX =    lua54
MODLUA_FLAVOR =         lua54
+.elif "${MODLUA_VERSION}" == "5.5"
+_MODLUA_PKG_PREFIX =   lua55
+MODLUA_FLAVOR =                lua55
.else
ERRORS +=               "Invalid MODLUA_VERSION set: ${MODLUA_VERSION}."
.endif

  • [new] lua 5.5 Daniel Dickman
    • Re: [new] lua 5.5 Stuart Henderson

Reply via email to