Gentoo Archives: gentoo-dev

From: Daniel Pielmeier <billie@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:49:27
Message-Id: 8ab8f01a-3baa-9da8-b04d-1ca95b623333@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 0/4] Eclass for single-impl Lua ebuilds by Marek Szuba
1 Marek Szuba schrieb am 01.10.20 um 22:24:
2 > On 2020-10-01 20:31, Daniel Pielmeier wrote:
3 >
4 >> I already had slotted lua 5.1 and 5.3 installed and the modified ebuild
5 >> built fine with lua-5.3 as before. However when I tried setting
6 >> LUA_SINGLE_TARGET="lua5-2", lua-5.2 was pulled in as a dependency but
7 >> conky still built against lua-5.3. The temporary pkg-config environment
8 >> was set correct but somehow it seems not used. Conky uses cmake and
9 >> pkg_search_module [1] to detect lua preferring 5.3 over 5.2.
10 >>
11 >> Am I doing something wrong using the eclass or is there an issue with
12 >> the lua detection in conky or maybe the the eclass?
13 >
14 > I noticed the same thing while adapting x11-wm/awesome, it's caused by
15 > how the CMake module FindLua works. You will have to make sure that
16 > cmake looks for a specific version.
17 >
18
19 Thanks Marek!
20
21 Probably the easiest solution is to pin it to 5.3 then.
22
23 --
24 Best Regards
25 Daniel