diff options
author | Jory Pratt <anarchy@gentoo.org> | 2021-05-02 10:43:43 -0500 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2021-05-02 10:43:43 -0500 |
commit | 09013f81bd972b541d9ada68df0800e234f36bb4 (patch) | |
tree | 7d9931dacd99f02904db31c3a7e6d16a0e322ff0 /sys-auth | |
parent | x11-base/xorg-server: fix incorrectly named patch (diff) | |
download | musl-09013f81bd972b541d9ada68df0800e234f36bb4.tar.gz musl-09013f81bd972b541d9ada68df0800e234f36bb4.tar.bz2 musl-09013f81bd972b541d9ada68df0800e234f36bb4.zip |
sys-auth/polkit: unbreak -duktape builds
Closes: https://github.com/gentoo/musl/issues/384
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/polkit/polkit-0.118-r1.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-auth/polkit/polkit-0.118-r1.ebuild b/sys-auth/polkit/polkit-0.118-r1.ebuild index c8f24c7d..9af062e1 100644 --- a/sys-auth/polkit/polkit-0.118-r1.ebuild +++ b/sys-auth/polkit/polkit-0.118-r1.ebuild @@ -95,7 +95,6 @@ src_configure() { --enable-man-pages --disable-gtk-doc --disable-examples - $(use_with duktape) $(use_enable elogind libelogind) $(use_enable introspection) $(use_enable nls) @@ -106,6 +105,11 @@ src_configure() { $(use_enable test) --with-os-type=gentoo ) + + if use duktape; then + myeconfargs+=( --with-duktape ) + fi + econf "${myeconfargs[@]}" } |