diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/postfix/PKGBUILD | 11 |
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 |