Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'extra/postfix')
-rw-r--r--extra/postfix/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD
new file mode 100644
index 00000000..a6e73395
--- /dev/null
+++ b/extra/postfix/PKGBUILD
@@ -0,0 +1,11 @@
+# do not make postfix depend on a micro-optimized Mysql (for i486)
+if [ "${CARCH}" = "i486" ]; then
+ depends=(${depends[@]//mariadb-libs/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s|-DHAS_MYSQL -I/usr/include/mysql||g
+ s|-lmysqlclient||g
+ '
+ )"
+fi