Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-12 20:19:23 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-12 20:19:23 +0200
commitcf517f492c5cb27ab9f5378b98fb5639394a36de (patch)
tree478a16893a8acef26c3b76da38735f66312f040d
parentaa60ea5d8b340204572e50a895f5d2d5440fbb22 (diff)
extra/qt5-base: do not build mysql plugin on i486
-rw-r--r--extra/qt5-base/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD
index 8b08f917..ac9aecb9 100644
--- a/extra/qt5-base/PKGBUILD
+++ b/extra/qt5-base/PKGBUILD
@@ -18,3 +18,14 @@ if [ "$CARCH" = 'i486' ]; then
'
)"
fi
+
+ic issues on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//mariadb-libs/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /-plugin-sql-/s/mysql,//
+ '
+ )"
+fi