summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/postfix/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/postfix/PKGBUILD b/core/postfix/PKGBUILD
new file mode 100644
index 00000000..c69ac157
--- /dev/null
+++ b/core/postfix/PKGBUILD
@@ -0,0 +1,13 @@
+# 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
+
+# replace $CARCH == pentium4 to i686