summaryrefslogtreecommitdiff
path: root/core/libsasl/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-17 09:51:35 +0100
committerErich Eckner <git@eckner.net>2019-12-17 09:51:35 +0100
commit540dd08265bc5db4d071333d54683298aa7f91da (patch)
treefc2e20daa62cd7c00bffd6c74a57feecd427a0e9 /core/libsasl/PKGBUILD
parentfd82d518a2884e9e60369b326bb38d1f0d09549d (diff)
downloadpackages-540dd08265bc5db4d071333d54683298aa7f91da.tar.xz
core/libsasl: build without mysql on i486 - it has *issues*
Diffstat (limited to 'core/libsasl/PKGBUILD')
-rw-r--r--core/libsasl/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/libsasl/PKGBUILD b/core/libsasl/PKGBUILD
new file mode 100644
index 00000000..5140d82b
--- /dev/null
+++ b/core/libsasl/PKGBUILD
@@ -0,0 +1,11 @@
+makedepends=(${makedepends[@]//mariadb-libs/})
+makedepends_i686+=(mariadb-libs)
+makedepends_pentium4=("${makedepends_i686[@]}")
+if [ "${CARCH}" = 'i486' ]; then
+ eval "$(
+ declare -f build \
+ | sed '
+ s/\s--with-mysql=\S\+\s/ --without-mysql /
+ '
+ )"
+fi