aboutsummaryrefslogtreecommitdiff
path: root/security/clamav-devel/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-23 16:50:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-23 16:50:21 +0000
commit7c17beeb0ebc83425e666eaff965811013a94fc8 (patch)
treefbeaec31354e70f46aba1d3fe71ca2d40f99a313 /security/clamav-devel/Makefile
parent85dafff40303a63c70b0325c67b4bb8120cc2e4d (diff)
Notes
Diffstat (limited to 'security/clamav-devel/Makefile')
-rw-r--r--security/clamav-devel/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 55f3cea7f941..8b545c6ef5c5 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 20040503
+PORTVERSION= 20040521
CATEGORIES= security
MASTER_SITES= http://clamav.sourceforge.net/snapshot/
PKGNAMESUFFIX= -devel
@@ -94,14 +94,12 @@ LDFLAGS+= -lcipher
.endif
.if defined(WITH_MILTER)
-.if exists(/usr/lib/libmilter.a) || exists(${LOCALBASE}/lib/libmilter.a)
+.if !exists(/usr/lib/libmilter.a)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
+.endif
CONFIGURE_ARGS+= --enable-milter
PLIST_SUB+= CLAMAV-MILTER=""
.else
-BROKEN= requires Sendmail 8.12
-PLIST_SUB+= CLAMAV-MILTER="@comment "
-.endif
-.else
PLIST_SUB+= CLAMAV-MILTER="@comment "
.endif