git: fe7520295b0d - main - multimedia/mpv: fix build with LUAJIT=OFF (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 19 Nov 2021 22:25:12 UTC
The branch main has been updated by fluffy:

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

commit fe7520295b0dc95f870215a23a6164ec842eda70
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2021-11-19 22:22:38 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2021-11-19 22:22:38 +0000

    multimedia/mpv: fix build with LUAJIT=OFF (+)
    
    Limit allowed Lua versions to 5.1/5.2, MPV cannot use lua53+ yet
    
    Approved by:    portmgr blanket (trivial fix build)
    Sponsored by:   Netzkommune GmbH
---
 multimedia/mpv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 7ebed2a3c30a..b473c8f1062b 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -96,7 +96,7 @@ LIBBLURAY_CONFIGURE_ON=		--enable-libbluray
 LIBBLURAY_CONFIGURE_OFF=	--disable-libbluray
 
 LUAJIT_LIB_DEPENDS=		libluajit-5.1.so:lang/luajit
-LUAJIT_USES_OFF=		lua
+LUAJIT_USES_OFF=		lua:51-52
 LUAJIT_CONFIGURE_ON=		--lua=luajit
 LUAJIT_CONFIGURE_OFF=		--lua=${LUA_VER_STR}fbsd