Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mariadb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariadb/PKGBUILD')
-rw-r--r--extra/mariadb/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/mariadb/PKGBUILD b/extra/mariadb/PKGBUILD
index 9aa34220..3f6a4f9c 100644
--- a/extra/mariadb/PKGBUILD
+++ b/extra/mariadb/PKGBUILD
@@ -8,3 +8,14 @@ eval "$(
/patch -Np1.*openssl-1-1-0.patch/ a \ patch -Np1 -i "${srcdir}/mariadb-10.1.32-atomic.patch"
'
)"
+
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no java
+ eval "$(
+ declare -f build | \
+ sed '
+ s/cmake /cmake -DCONNECT_WITH_JDBC=0 /
+ '
+ )"
+fi