Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/apr-util/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-20 13:29:08 +0100
committerErich Eckner <git@eckner.net>2019-12-20 13:29:08 +0100
commit8716a730d4d4bdbcd40ce8a887e63e864823dc55 (patch)
treefe1d4efc38d57f4f6154bebc2317ec10dc0b57c8 /extra/apr-util/PKGBUILD
parentca01cdf4369498e7c4718abc70245353319386f2 (diff)
extra/apr-util: drop mariadb-libs dependency on i486
Diffstat (limited to 'extra/apr-util/PKGBUILD')
-rw-r--r--extra/apr-util/PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/apr-util/PKGBUILD b/extra/apr-util/PKGBUILD
new file mode 100644
index 00000000..0f85ebd0
--- /dev/null
+++ b/extra/apr-util/PKGBUILD
@@ -0,0 +1,16 @@
+if makedepends_i686=(
+ $(
+ printf '%s\n' "${makedepends[@]}" \
+ | grep -xF mariadb-libs
+ )
+); then
+ makedepends_pentium4=(
+ "${makedepends_i686[@]}"
+ )
+ makedepends=(
+ $(
+ printf '%s\n' "${makedepends[@]}" \
+ | grep -vxF mariadb-libs
+ )
+ )
+fi