commit:     50ed795169ca97870af4be2f49f95e0786775136
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 11:58:17 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 11:58:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ed7951

x11-themes/gtk-engines: fix pkg_setup with USE=-lua

Closes: https://bugs.gentoo.org/767982
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-themes/gtk-engines/gtk-engines-2.20.2-r100.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/x11-themes/gtk-engines/gtk-engines-2.20.2-r100.ebuild 
b/x11-themes/gtk-engines/gtk-engines-2.20.2-r100.ebuild
index c5622f9a10a..4cc547be5aa 100644
--- a/x11-themes/gtk-engines/gtk-engines-2.20.2-r100.ebuild
+++ b/x11-themes/gtk-engines/gtk-engines-2.20.2-r100.ebuild
@@ -43,6 +43,10 @@ PATCHES=(
        "${FILESDIR}"/${P}-automake-1.14.patch # taken from Debian
 )
 
+pkg_setup() {
+       use lua && lua-single_pkg_setup
+}
+
 src_prepare() {
        # pkgconfig wrapper set up by lua-single.eclass is not 
multilib-compatible
        # at present so point Autoconf directly to the correct implementation.

Reply via email to