aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-greylist/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index cdf6d2dcd7f4..f7950d352e69 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -59,6 +59,9 @@ CONFIGURE_ARGS+= --with-libcurl=${LOCALBASE}
.endif
.if defined(WITH_POSTFIX)
CONFIGURE_ARGS+= --enable-postfix
+.else
+LDFLAGS+= ${SENDMAIL_LDFLAGS}
+LIBS+= ${SENDMAIL_LDADD}
.endif
RUN_DEPENDS+= ${BUILD_DEPENDS}