diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-21 17:01:26 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-21 17:01:26 +0200 |
commit | b2db53384fbe9c193340c633ba9c5602843180dc (patch) | |
tree | 892a489818d940437b37aaa63b3c1fd3f7db8697 /community | |
parent | fa4e2a79a179c96542a1f355580944c0301b7dc1 (diff) | |
download | packages-b2db53384fbe9c193340c633ba9c5602843180dc.tar.xz |
community/libgda: no mysql or firebird on i486
Diffstat (limited to 'community')
-rw-r--r-- | community/libgda/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
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 + ' +) +" |