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=6e9055b49516243cf12d1ebe1c04edb4b5252330 commit 6e9055b49516243cf12d1ebe1c04edb4b5252330 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-12-21 22:53:23 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-12-21 23:14:31 +0000 dev-games/openscenegraph: migrate to lua-single.eclass The usual cmake FindPackage(Lua) version hack. Lua compatibility as per upstream build scripts. Nb. The unmigrated 3.6.5 ebuild does not set -DOSG_USE_LOCAL_LUA_SOURCE=OFF in src_configure so it is a) always built with Lua support, and b) linked against bundled Lua. Closes: https://bugs.gentoo.org/752573 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../openscenegraph-3.6.5-cmake_lua_version.patch | 14 ++ .../openscenegraph-3.6.5-r100.ebuild | 159 +++++++++++++++++++++ profiles/package.mask | 1 + 3 files changed, 174 insertions(+)