aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-02-28 23:06:39 +0800
committerpav <pav@FreeBSD.org>2004-02-28 23:06:39 +0800
commit0972124dd02c86e2943b0a2d4fd13d3ce64de8ab (patch)
tree644b2223d47726da31865c7ea4b083c1136f8ae7
parent1b8dcba0a138a2791888b8fe8f281237460add11 (diff)
downloadfreebsd-ports-gnome-0972124dd02c86e2943b0a2d4fd13d3ce64de8ab.tar.gz
freebsd-ports-gnome-0972124dd02c86e2943b0a2d4fd13d3ce64de8ab.tar.zst
freebsd-ports-gnome-0972124dd02c86e2943b0a2d4fd13d3ce64de8ab.zip
- 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)
-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}"