HomeFreeBSD

www/httest: enable only for lua <= 5.2

Description

www/httest: enable only for lua <= 5.2

From lua_module.c:

#if ( LUA_VERSION_NUM == 501 )
  failed = (lua_load(L, lua_get_line, reader, "@client") != 0 ||
            lua_pcall(L, 0, LUA_MULTRET, 0) != 0);
#elif ( LUA_VERSION_NUM  == 502 )
  failed = (lua_load(L, lua_get_line, reader, "@client", NULL) != 0 ||
            lua_pcall(L, 0, LUA_MULTRET, 0) != 0);
#else
  #error this lua version is not supported
#endif

PR: 220281

Details

Provenance
tcbernerAuthored on Sep 8 2022, 7:50 AM
Parents
R11:ab6be4dbf3bb: net/norm: use upstream divert(4) patches to avoid warning on CURRENT
Branches
Unknown
Tags
Unknown