Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-10-09 20:11:22 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-10-09 20:11:22 +0200
commit8a7fc606264c77791dd38f786c7985882ea44485 (patch)
treefb66dd425c859e4ae9899409ab1c70bae80c1f35 /extra
parent13aeb339f6832a600f12dc8c95b5a6e25d49ffae (diff)
extra/mariadb: no java on i486
Diffstat (limited to 'extra')
-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