Summary: | lua-single.eclass: LUA_REQ_USE="deprecated" breaks with luajit | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joonas Niilola <juippis> |
Component: | Eclasses | Assignee: | William Hubbs <williamh> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | conikost, marecki |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joonas Niilola
2021-01-24 18:05:42 UTC
(In reply to Joonas Niilola from comment #0) > From the eclass documentation you get an impression that > LUA_REQ_USE="deprecated(+)" > > would always be used I don't think I agree with this. The documentation says LUA_REQ_USE specifies (emphasis mine) "USE flags *required* to be enabled on the chosen Lua implementations", and defaulting to (+) would IMHO go against the above. What you want here is lua_gen_impl_dep(). (In reply to Marek Szuba from comment #1) > What you want here is lua_gen_impl_dep(). https://devmanual.gentoo.org/eclass-reference/lua-single.eclass/index.html I see, there is a nice example, so I guess, we can close here? Btbh, LUA_REQ_USE="deprecated(+)" looks somehow better for me :-) Sure sure, it doesn't seem like anyone else is hitting this problem. |