Created attachment 229204 [details] make lua optional dependency and Lua isn't mandatory dependency for mpv and mpv doesn't support lua 5.3. Tested on 12.2 amd64: check-plist/build/install/run.
Thank you for the patch. Please add LUA to OPTIONS_DEFAULT such that the option and supported Lua version bugfix can be merged to quarterly (fixing the bug), without modifying functional default behaviour. This can then be followed up with a proposal to remove from OPTIONS_DEFAULT if appropriate and accepted
Created attachment 229231 [details] make lua optional dependency v2 (keep LUA on by default)
(In reply to Kubilay Kocak from comment #1) I did as you asked.
(In reply to Kubilay Kocak from comment #1) Something wrong with patch?
Created attachment 229543 [details] make lua optional dependency v3 (keep LUA on by default) Small fix.
Created attachment 229969 [details] make lua optional dependency v4 (keep LUA on by default) Patch updated for current version of the port.
Moin moin Why add a None option, instead of making it an OPTION_RADIO? mfg Tobias
(In reply to Tobias C. Berner from comment #7) > Why add a None option, instead of making it an OPTION_RADIO? Need "if" in Makefile for turn off both. Or none option with "LUA_NONE_CONFIGURE_ON=--disable-lua" only.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd43b2526fd466e46532dad30cbf37e2296a845c commit cd43b2526fd466e46532dad30cbf37e2296a845c Author: VVD <vvd@unislabs.com> AuthorDate: 2021-12-11 09:25:48 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2021-12-11 09:30:00 +0000 multimedia/mpv: fix lua option handling mpv supports - no lua - luajit - lua51-52 The new options added support to select between these. - LUA_NONE - LUAJIT (previous OFF by default) - LUA (previously on when LUAJIT=OFF) So the default remains to use lang/lua5[12]. PR: 259598 multimedia/mpv/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
Thanks!