git: 5102d79f7137 - main - devel/lua-posix: Adjust USES=lua

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 15 Aug 2024 11:54:57 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5102d79f7137a81c593dd48505b8d3176b09c0aa

commit 5102d79f7137a81c593dd48505b8d3176b09c0aa
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-15 09:44:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-15 10:55:32 +0000

    devel/lua-posix: Adjust USES=lua
    
    posix uses Lua built-in bit32 which is available since Lua 5.2.
    
    PR:             268875
    Reported by:    Matt Boney <matt@cloverbasin.com>
---
 devel/lua-posix/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/lua-posix/Makefile b/devel/lua-posix/Makefile
index 5a076187349e..efc0abee0af7 100644
--- a/devel/lua-posix/Makefile
+++ b/devel/lua-posix/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${LUA_PKGNAMEPREFIX}stdlib-normalize>=0:devel/lua-stdlib-normalize@${LUA_FLAVOR}
 
-USES=		lua:module shebangfix
+USES=		lua:52+,module shebangfix
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	luaposix