From 9470633f4e28db261443eef2520a8d57b022c563 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 13 Jun 2019 09:45:24 +0200 Subject: core/postfix: remove dependency on mariadb for i486 --- core/postfix/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 core/postfix/PKGBUILD (limited to 'core') 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 -- cgit v1.2.3-70-g09d2