abinfo "Installing pre-configured Makefile ..."
install -Dvm644 "$SRCDIR"/src/src/EDITME \
    "$SRCDIR"/src/Local/Makefile

abinfo "Installing pre-configured eximon configuration ..."
install -Dvm644 "$SRCDIR"/src/exim_monitor/EDITME \
    "$SRCDIR"/src/Local/eximon.conf

# Ref: https://github.com/AOSC-Dev/aosc-os-abbs/blob/ec21e03fae754b71ca654ec3872d20f9745702d0/app-database/postgresql/01-runtime/build#L7
abinfo "Setting PostgreSQL headers path ..."
PGSQL_INCLUDE="$(pkg-config --cflags libpq)"
export CFLAGS="${CFLAGS} ${PGSQL_INCLUDE}"
