summaryrefslogtreecommitdiff
path: root/mail/antivirus-milter
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-12-16 21:07:39 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-12-16 21:07:39 +0000
commit72ef392689b5dfa76a0412c9fc1ebfcd0e0e553f (patch)
tree0eae1d12380bfef9c8e10eac8d02c862aed84668 /mail/antivirus-milter
parent- Fix threading for FreeBSD 5.2.1 (diff)
- register depedency for SENDMAIL_WITH_SHARED_MILTER
Notes
Notes: svn path=/head/; revision=124228
Diffstat (limited to 'mail/antivirus-milter')
-rw-r--r--mail/antivirus-milter/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/antivirus-milter/Makefile b/mail/antivirus-milter/Makefile
index 9e24050ac85a..f425834786a9 100644
--- a/mail/antivirus-milter/Makefile
+++ b/mail/antivirus-milter/Makefile
@@ -16,8 +16,12 @@ COMMENT= Sendmail milter wich uses Mcafee Virus Scan
RUN_DEPENDS= ${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime
.if !defined(SENDMAIL_MILTER_IN_BASE)
+.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
USE_REINPLACE= yes