diff --git a/srcpkgs/postfix/template b/srcpkgs/postfix/template index 963b2d26097..b44ea08f08d 100644 --- a/srcpkgs/postfix/template +++ b/srcpkgs/postfix/template @@ -19,6 +19,8 @@ if [ "$CROSS_BUILD" ]; then fi do_build() { + sed -e "s,\(/usr/include/db.h\),${XBPS_CROSS_BASE}/\1,g" -i makedefs + make makefiles DEBUG='' CCARGS=' \ -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \ -DHAS_LDAP \