summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"