commit:     963327d7be7c7d0047fed6b3dd119c382e94b2f7
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 12:33:53 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 14:52:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=963327d7

mail-filter/opendkim-2.10.3-r25: temporarily limit LUA_COMPAT to lua5.1

Lua detection as it stands now will always prefer lua5.1, if installed,
over whatever version is pointed at by the eclass-provided pkgconfig
wrapper. Until the relevant patch has been merged into the tree, thus
making sure that if the user requests building against lua5-2 OpenDKIM
really *is* built against that version, stick with 5.1 only.

Closes: https://bugs.gentoo.org/752738
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 mail-filter/opendkim/opendkim-2.10.3-r25.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild 
b/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
index d6a9c321c57..eb05adb29aa 100644
--- a/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
+++ b/mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
@@ -3,7 +3,10 @@
 
 EAPI=7
 
-LUA_COMPAT=( lua5-1 lua5-2 )
+# Supports lua5-2 as well but in order for that to work the lua-pkgconfig
+# patch has to be updated not to prefer "lua5.1" over "lua" while looking
+# for Lua pkgconfig modules.
+LUA_COMPAT=( lua5-1 )
 
 inherit autotools db-use eutils systemd tmpfiles lua-single
 

Reply via email to