Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libsoup
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libsoup')
-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 '