index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | core/postfix/PKGBUILD | 13 |
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 |