summaryrefslogtreecommitdiff
path: root/security/clamav/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-28 15:06:39 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-28 15:06:39 +0000
commit0866b2d1b2c59e9797490db8eaa21efdc763896d (patch)
treed78ebd4351e3d6e356172b33df3fcb5afc6e4129 /security/clamav/Makefile
parentAdd p5-PatchReader, a set of utilities for reading in, transforming, and doing (diff)
- If WITH_MILTER is set and NO_SENDMAIL is defined, don't try to build milter.
PR: ports/55611 Submitted by: TERAMOTO Masahiro <markun@onohara.to> (maintainer)
Diffstat (limited to 'security/clamav/Makefile')
-rw-r--r--security/clamav/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 7ed577e9f2c7..8a810db2e92d 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -70,7 +70,7 @@ SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
PLIST_SUB+= RC_DIR=${RC_DIR} \
RC_SUFX=${RC_SUFX}
-.if defined(WITH_MILTER)
+.if defined(WITH_MILTER) && !defined(NO_SENDMAIL)
.if exists(${LOCALBASE}/lib/libmilter.a)
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"