From c8e9ce320bfa8a63f0ebd7ad5df403e043373fc9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 4 Jun 2021 17:02:16 +0200 Subject: extra/networkmanager: using polkit-duktape on i486 --- extra/networkmanager/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'extra') diff --git a/extra/networkmanager/PKGBUILD b/extra/networkmanager/PKGBUILD index d5aba805..14807142 100644 --- a/extra/networkmanager/PKGBUILD +++ b/extra/networkmanager/PKGBUILD @@ -6,3 +6,16 @@ eval "$( s/\(meson test.*\)/\1 || true/ ' )" + +# no polkit, no js78, no rust, use polkit-duktape on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//polkit/}) + makedepends+=(polkit-duktape) + + eval "$( + declare -f package_networkmanager | \ + sed ' + /depends/s/polkit/polkit-duktape/ + ' + )" +fi -- cgit v1.2.3-70-g09d2