Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/networkmanager/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
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