Gentoo Archives: gentoo-dev

From: Marek Szuba <marecki@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 0/4] Eclass for single-impl Lua ebuilds
Date: Thu, 01 Oct 2020 20:24:33
In Reply to: Re: [gentoo-dev] [PATCH 0/4] Eclass for single-impl Lua ebuilds by Daniel Pielmeier
1 On 2020-10-01 20:31, Daniel Pielmeier wrote:
3 > I already had slotted lua 5.1 and 5.3 installed and the modified ebuild
4 > built fine with lua-5.3 as before. However when I tried setting
5 > LUA_SINGLE_TARGET="lua5-2", lua-5.2 was pulled in as a dependency but
6 > conky still built against lua-5.3. The temporary pkg-config environment
7 > was set correct but somehow it seems not used. Conky uses cmake and
8 > pkg_search_module [1] to detect lua preferring 5.3 over 5.2.
9 >
10 > Am I doing something wrong using the eclass or is there an issue with
11 > the lua detection in conky or maybe the the eclass?
13 I noticed the same thing while adapting x11-wm/awesome, it's caused by
14 how the CMake module FindLua works. You will have to make sure that
15 cmake looks for a specific version.
17 --
18 MS


Subject Author
Re: [gentoo-dev] [PATCH 0/4] Eclass for single-impl Lua ebuilds Daniel Pielmeier <billie@g.o>