Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-20 13:53:40 +0100
committerErich Eckner <git@eckner.net>2019-12-20 13:53:40 +0100
commitebd95316aab54b5a0f29fabac93720ef54c0c6ff (patch)
tree40d1e7788f6f3cf8bc1444ff24be4ef30674a379 /extra
parent8716a730d4d4bdbcd40ce8a887e63e864823dc55 (diff)
extra/libsoup: dependencies should be only dropped on i486
Diffstat (limited to 'extra')
-rw-r--r--extra/libsoup/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/extra/libsoup/PKGBUILD b/extra/libsoup/PKGBUILD
index cb55527c..56292d13 100644
--- a/extra/libsoup/PKGBUILD
+++ b/extra/libsoup/PKGBUILD
@@ -1,10 +1,19 @@
-makedepends=(
- $(
- printf '%s\n' "${makedepends[@]}" \
- | grep -vxF gobject-introspection \
- | grep -vxF vala
- )
-)
+for _drop_dep in gobject-introspection vala; do
+ if makedepends_i686+=(
+ $(
+ printf '%s\n' "${makedepends[@]}" \
+ | grep -xF ${_drop_dep}
+ )
+ ); then
+ makedepends_pentium4=("${makedepends_i686[@]}")
+ makedepends=(
+ $(
+ printf '%s\n' "${makedepends[@]}" \
+ | grep -vxF ${_drop_dep}
+ )
+ )
+ fi
+done
eval "$(
declare -f build \
| sed '