On 2020-10-01 20:31, Daniel Pielmeier wrote:

> I already had slotted lua 5.1 and 5.3 installed and the modified ebuild
> built fine with lua-5.3 as before. However when I tried setting
> LUA_SINGLE_TARGET="lua5-2", lua-5.2 was pulled in as a dependency but
> conky still built against lua-5.3. The temporary pkg-config environment
> was set correct but somehow it seems not used. Conky uses cmake and
> pkg_search_module [1] to detect lua preferring 5.3 over 5.2.
> 
> Am I doing something wrong using the eclass or is there an issue with
> the lua detection in conky or maybe the the eclass?

I noticed the same thing while adapting x11-wm/awesome, it's caused by
how the CMake module FindLua works. You will have to make sure that
cmake looks for a specific version.

-- 
MS

Reply via email to