commit:     f9d59ae0c90db9b9ceb1edcc9b9ed199cfa1d38f
Author:     yemou Hannam <yemou <AT> protonmail <DOT> com>
AuthorDate: Thu Jan 20 19:17:22 2022 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 22:06:20 2022 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=f9d59ae0

sys-auth/polkit: fix build with -duktape

correctly set `-Djs_engine` when the duktape useflag is or is not set

Closes: https://github.com/gentoo/musl/issues/458
Closes: https://github.com/gentoo/musl/pull/459

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: yemou Hannam <yemou <AT> protonmail.com>
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>

 sys-auth/polkit/polkit-0.120-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-auth/polkit/polkit-0.120-r1.ebuild 
b/sys-auth/polkit/polkit-0.120-r1.ebuild
index c0b033db..a75f950a 100644
--- a/sys-auth/polkit/polkit-0.120-r1.ebuild
+++ b/sys-auth/polkit/polkit-0.120-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -88,6 +88,7 @@ src_configure() {
                $(meson_use introspection)
                $(meson_use test tests)
                $(usex pam "-Dpam_module_dir=$(getpam_mod_dir)" '')
+               -Djs_engine="$(usex duktape duktape mozjs)"
        )
        meson_src_configure
 }

Reply via email to