index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-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 |