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
This commit is contained in:
Tobias C. Berner 2022-09-08 09:50:55 +02:00
parent ab6be4dbf3
commit 834e273d02

View file

@ -15,7 +15,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libpcre.so:devel/pcre \
libapr-1.so:devel/apr1
USES= iconv lua libtool bdb ssl
USES= iconv lua:-52 libtool bdb ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes