diff options
author | krion <krion@FreeBSD.org> | 2004-05-20 17:02:07 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-05-20 17:02:07 +0800 |
commit | d4c8100a600745478ab035ba600d2001f2120e5c (patch) | |
tree | 16731b9fcfbfce71dd43d3ec9f501983eb180c24 /security/clamav | |
parent | 86a7801c1b69176140421b73564c5d42ebc899ca (diff) | |
download | freebsd-ports-graphics-d4c8100a600745478ab035ba600d2001f2120e5c.tar.gz freebsd-ports-graphics-d4c8100a600745478ab035ba600d2001f2120e5c.tar.zst freebsd-ports-graphics-d4c8100a600745478ab035ba600d2001f2120e5c.zip |
- Fix dependencies
PR: ports/66879
Submitted by: Beresovsky Andrey <and@rsu.ru>
Approved by: maintainer
Diffstat (limited to 'security/clamav')
-rw-r--r-- | security/clamav/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile index b4b0c233c31..d5f981b514e 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -98,14 +98,12 @@ PLIST_SUB+= RC_DIR=${RC_DIR} \ .include <bsd.port.pre.mk> .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 |