summaryrefslogtreecommitdiff
path: root/extra/postfix/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-06-13 14:39:30 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-06-13 14:39:30 +0200
commit25e9a6d8598b7c66171428d498a0dfef7914432c (patch)
tree1a39929ff3757d3d339903da8805e2158512c875 /extra/postfix/PKGBUILD
parent21e022dc2aa80f72daab7c0c943c6043ce697e95 (diff)
downloadpackages-25e9a6d8598b7c66171428d498a0dfef7914432c.tar.xz
extra/postfix: moved from core/postfix
Diffstat (limited to 'extra/postfix/PKGBUILD')
-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