Summary: | devel/lua-luarocks: version bump to 3.2.1 with support for lang/luajit-openresty | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | yds <yds> |
Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> |
Status: | Closed Feedback Timeout | ||
Severity: | Affects Many People | CC: | mm |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Attachments: |
> this patch adds DEPENDS support for lang/luajit-openresty if installed, otherwise DEPENDS on lang/luajit as before.
Please provide an explicit option to depend on luajit-openresty instead.
Created attachment 208314 [details] version bump to 3.2.1 with options for selecting Lua version version bump to 3.2.1 with options for selecting Lua version. > Please provide an explicit option to depend on luajit-openresty instead. Trying to fulfill the request above I realized there no difference in installing LuaRocks for Lua 5.1 and any of the LuaJIT variants. Therefore there is no need to explicitly depend on any of the LuaJIT ports. Instead this new patch adds options for building and installing LuaRocks to support any version of Lua. This probably closes [Bug 229520](https://Bugs.FreeBSD.org/bugzilla/show_bug.cgi?id=229520) Created attachment 208316 [details]
version bump to 3.2.1 with options for selecting Lua version
make OPTIONS_DEFAULT honor the system wide LUA_DEFAULT yet still allow building and installing the port for the other non-default versions of Lua
I think you need FLAVORS here. Among the other benefits it'll allow to have package for each version of luarocks and install them simultaneously (though it'll need minor installation for to add -${LUA_VER} suffix to binaries as it's done with config. See https://www.freebsd.org/doc/en/books/porters-handbook/flavors-using.html for details. Any progress? Timeout |
Created attachment 208281 [details] devel/lua-luarocks: version bump to 3.2.1 with support for lang/luajit-openresty this patch adds DEPENDS support for lang/luajit-openresty if installed, otherwise DEPENDS on lang/luajit as before.