summaryrefslogtreecommitdiff
path: root/core/postfix/PKGBUILD
blob: c69ac1571284b51dc41a77b3a5c4de3d5c41e44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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