summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-01 10:50:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-01 10:50:27 +0200
commitc29b606041ccf4ff4fe0dffcca0f199f78db89a2 (patch)
tree6f16f378a74309a149d6ace8106e7497e9bcc1a8 /community
parente8e846ad2531505e6263acaf16b12707fa1ed8bf (diff)
downloadpackages-c29b606041ccf4ff4fe0dffcca0f199f78db89a2.tar.xz
community/gdal: no mariadb on i486
Diffstat (limited to 'community')
-rw-r--r--community/gdal/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/gdal/PKGBUILD b/community/gdal/PKGBUILD
index e69de29b..6aa81b69 100644
--- a/community/gdal/PKGBUILD
+++ b/community/gdal/PKGBUILD
@@ -0,0 +1,10 @@
+# no mariadb yet on i486
+if [ "${CARCH}" = "i486" ]; then
+ depends=(${depends[@]//mariadb-libs/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--with-mysql/--without-mysql/
+ '
+ )"
+fi