Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-06-04 17:02:16 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-06-04 17:02:16 +0200
commitc8e9ce320bfa8a63f0ebd7ad5df403e043373fc9 (patch)
tree4bc37dc532353c0d38c2424c6583bdf07dcb1379
parent4f661ffab2991845b7d3579f316d71187cc4346a (diff)
extra/networkmanager: using polkit-duktape on i486
-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