Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendkim/
Date: Wed, 23 Dec 2020 14:52:24
Message-Id: 1608735126.963327d7be7c7d0047fed6b3dd119c382e94b2f7.marecki@gentoo
1 commit: 963327d7be7c7d0047fed6b3dd119c382e94b2f7
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 12:33:53 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 14:52:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=963327d7
7
8 mail-filter/opendkim-2.10.3-r25: temporarily limit LUA_COMPAT to lua5.1
9
10 Lua detection as it stands now will always prefer lua5.1, if installed,
11 over whatever version is pointed at by the eclass-provided pkgconfig
12 wrapper. Until the relevant patch has been merged into the tree, thus
13 making sure that if the user requests building against lua5-2 OpenDKIM
14 really *is* built against that version, stick with 5.1 only.
15
16 Closes: https://bugs.gentoo.org/752738
17 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
18
19 mail-filter/opendkim/opendkim-2.10.3-r25.ebuild | 5 ++++-
20 1 file changed, 4 insertions(+), 1 deletion(-)
21
22 diff --git a/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
23 index d6a9c321c57..eb05adb29aa 100644
24 --- a/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
25 +++ b/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
26 @@ -3,7 +3,10 @@
27
28 EAPI=7
29
30 -LUA_COMPAT=( lua5-1 lua5-2 )
31 +# Supports lua5-2 as well but in order for that to work the lua-pkgconfig
32 +# patch has to be updated not to prefer "lua5.1" over "lua" while looking
33 +# for Lua pkgconfig modules.
34 +LUA_COMPAT=( lua5-1 )
35
36 inherit autotools db-use eutils systemd tmpfiles lua-single