From b2db53384fbe9c193340c633ba9c5602843180dc Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 21 May 2021 17:01:26 +0200 Subject: community/libgda: no mysql or firebird on i486 --- community/libgda/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/community/libgda/PKGBUILD b/community/libgda/PKGBUILD index 553e47f2..49d7e030 100644 --- a/community/libgda/PKGBUILD +++ b/community/libgda/PKGBUILD @@ -10,3 +10,34 @@ eval "$( javac getsp.java ' )" + +# no mysql yet on i486 +if [ "${CARCH}" = "i486" ]; then + makedepends=(${makedepends[@]//mariadb-libs/}) + eval "$( + declare -f package_libgda | \ + sed ' + /provider/s/mysql// + ' + declare -f package_libgda-mysql | \ + sed ' + 3 i if false; then + $ i fi + ' + ) + " +fi + +# no firebird +eval "$( + declare -f package_libgda | \ + sed ' + /provider/s/firebird// + ' + declare -f package_libgda-firebird | \ + sed ' + 3 i if false; then + $ i fi + ' +) +" -- cgit v1.2.3-70-g09d2