commit:     5a7e8414402da4f3a1122afd6c143985aba9d7aa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 13:30:11 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 13:30:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a7e8414

app-misc/worker: fix build w/ USE=-lua

Closes: https://bugs.gentoo.org/942386
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/worker/worker-4.6.1-r100.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-misc/worker/worker-4.6.1-r100.ebuild 
b/app-misc/worker/worker-4.6.1-r100.ebuild
index bd319146baa0..8ce55a35225c 100644
--- a/app-misc/worker/worker-4.6.1-r100.ebuild
+++ b/app-misc/worker/worker-4.6.1-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,6 +30,10 @@ BDEPEND="virtual/pkgconfig"
 
 DOCS=( AUTHORS ChangeLog INSTALL NEWS README README_LARGEFILES THANKS )
 
+pkg_setup() {
+       use lua && lua-single_pkg_setup
+}
+
 src_prepare() {
        default
 

Reply via email to