summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-02-28 15:06:39 +0000
committerpav <pav@FreeBSD.org>2004-02-28 15:06:39 +0000
commit0972124dd02c86e2943b0a2d4fd13d3ce64de8ab (patch)
tree644b2223d47726da31865c7ea4b083c1136f8ae7 /security
parent1b8dcba0a138a2791888b8fe8f281237460add11 (diff)
downloadFreeBSD-ports-0972124dd02c86e2943b0a2d4fd13d3ce64de8ab.zip
FreeBSD-ports-0972124dd02c86e2943b0a2d4fd13d3ce64de8ab.tar.gz
- 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')
-rw-r--r--security/clamav/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 7ed577e..8a810db 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}"
OpenPOWER on IntegriCloud