aboutsummaryrefslogtreecommitdiff
path: root/mail/raysfilter
diff options
context:
space:
mode:
Diffstat (limited to 'mail/raysfilter')
-rw-r--r--mail/raysfilter/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/raysfilter/Makefile b/mail/raysfilter/Makefile
index d40ece89ab14..c146a91b15b7 100644
--- a/mail/raysfilter/Makefile
+++ b/mail/raysfilter/Makefile
@@ -15,7 +15,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A configurable filter for Sendmail
.if !defined(SENDMAIL_MILTER_IN_BASE)
-BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT}
+.if defined(SENDMAIL_WITH_SHARED_MILTER)
+LIB_DEPENDS+= milter.3:${PORTSDIR}/mail/${SENDMAIL_PORT}
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT}
+.endif
.endif
SENDMAIL_PORT?= sendmail