Files
ports/devel/lua-stdlib/files/patch-configure
T
2026-07-01 06:13:27 +08:00

39 lines
1.4 KiB
Plaintext

--- configure.orig 2018-09-04 00:58:18 UTC
+++ configure
@@ -2546,7 +2546,7 @@ fi
fi
- _ax_check_text="whether $LUA version >= 5.1, < 5.5"
+ _ax_check_text="whether $LUA version >= 5.1, < 5.6"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $_ax_check_text" >&5
$as_echo_n "checking $_ax_check_text... " >&6; }
@@ -2561,7 +2561,7 @@ $as_echo_n "checking $_ax_check_text... " >&6; }
local minver = verstr2num("5.1")
local _, _, trimver = string.find(_VERSION, "^Lua (.*)")
local ver = verstr2num(trimver)
- local maxver = verstr2num("5.5") or 1e9
+ local maxver = verstr2num("5.6") or 1e9
if minver <= ver and ver < maxver then
print("yes")
else
@@ -2579,7 +2579,7 @@ else
ax_display_LUA=$LUA
else
- _ax_check_text="for a Lua interpreter with version >= 5.1, < 5.5"
+ _ax_check_text="for a Lua interpreter with version >= 5.1, < 5.6"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $_ax_check_text" >&5
$as_echo_n "checking $_ax_check_text... " >&6; }
if ${ax_cv_pathless_LUA+:} false; then :
@@ -2616,7 +2616,7 @@ fi
local minver = verstr2num("5.1")
local _, _, trimver = string.find(_VERSION, "^Lua (.*)")
local ver = verstr2num(trimver)
- local maxver = verstr2num("5.5") or 1e9
+ local maxver = verstr2num("5.6") or 1e9
if minver <= ver and ver < maxver then
print("yes")
else