In order for Gentoo Linux to properly support side-by-side installation of different versions of Lua (including LuaJIT), please migrate this package as to lua.eclass (for packages which should support multiple Lua implementations at the same time, i.e. most likely Lua modules) or lua-single.eclass (for packages which only have to support one Lua implementation at a time). For details, consult documentation of respective eclasses as well as already-migrated ebuilds in the tree. Please note that since slotted dev-lang/lua is currently masked, your migrated ebuilds should be masked as well. There is a section of package.mask, created in September 2020, which you can use for this purpose so that it will be easier in the future to unmask them all in one go. Thank you in advance for your effort!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e01288cd94aa05281f71226c679da470175f3af commit 7e01288cd94aa05281f71226c679da470175f3af Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-12-20 15:44:51 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-12-20 15:47:20 +0000 net-misc/asterisk: migrate to lua-single.eclass Upstream build scripts don't use pkgconfig to find Lua so it wasn't merely a matter of pointing them to the wrapper, that said it was still simple enough to make it use the ebuild-specified version. LUA_COMPAT set as per the aforementioned scripts. Closes: https://bugs.gentoo.org/752822 Signed-off-by: Marek Szuba <marecki@gentoo.org> net-misc/asterisk/asterisk-16.14.0-r100.ebuild | 311 +++++++++++++++++++++ .../asterisk-16.14.0-autoconf-lua-version.patch | 31 ++ profiles/package.mask | 1 + 3 files changed, 343 insertions(+)