Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/libgda
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-21 17:01:26 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-21 17:01:26 +0200
commitb2db53384fbe9c193340c633ba9c5602843180dc (patch)
tree892a489818d940437b37aaa63b3c1fd3f7db8697 /community/libgda
parentfa4e2a79a179c96542a1f355580944c0301b7dc1 (diff)
community/libgda: no mysql or firebird on i486
Diffstat (limited to 'community/libgda')
-rw-r--r--community/libgda/PKGBUILD31
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
+ '
+)
+"