Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/libgda/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libgda/PKGBUILD')
-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
+ '
+)
+"