From 8a7fc606264c77791dd38f786c7985882ea44485 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 9 Oct 2018 20:11:22 +0200 Subject: extra/mariadb: no java on i486 --- extra/mariadb/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra/mariadb') 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 -- cgit v1.2.3-70-g09d2