index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-06-04 17:02:16 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-06-04 17:02:16 +0200 |
commit | c8e9ce320bfa8a63f0ebd7ad5df403e043373fc9 (patch) | |
tree | 4bc37dc532353c0d38c2424c6583bdf07dcb1379 /extra/networkmanager | |
parent | 4f661ffab2991845b7d3579f316d71187cc4346a (diff) |
-rw-r--r-- | extra/networkmanager/PKGBUILD | 13 |
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 |