aboutsummaryrefslogtreecommitdiff
path: root/mail/spamilter
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamilter')
-rw-r--r--mail/spamilter/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/spamilter/Makefile b/mail/spamilter/Makefile
index da1aa09ae2ba..58489313c6bf 100644
--- a/mail/spamilter/Makefile
+++ b/mail/spamilter/Makefile
@@ -16,9 +16,10 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= A Sendmail LibMilter filter to block spam
.if !defined(SENDMAIL_MILTER_IN_BASE)
-BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT}
.endif
+SENDMAIL_PORT?= sendmail
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
HAS_CONFIGURE= yes