aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryemou Hannam <yemou@protonmail.com>2022-01-20 14:17:22 -0500
committerJory Pratt <anarchy@gentoo.org>2022-01-23 16:06:20 -0600
commitf9d59ae0c90db9b9ceb1edcc9b9ed199cfa1d38f (patch)
tree5cf2b6897f4f67ceb0a892799927e88e1d836469 /sys-auth
parentdev-lang/rust: remove unsupported keywords for musl (diff)
downloadmusl-f9d59ae0c90db9b9ceb1edcc9b9ed199cfa1d38f.tar.gz
musl-f9d59ae0c90db9b9ceb1edcc9b9ed199cfa1d38f.tar.bz2
musl-f9d59ae0c90db9b9ceb1edcc9b9ed199cfa1d38f.zip
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@protonmail.com> Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/polkit-0.120-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
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
}