summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-10-17 13:20:03 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-10-17 13:20:03 +0000
commit490878dfdf29f22c83b6bc4d4ecdd4c138495dfa (patch)
tree98f712193d034b4a28ec00c8a818f3257f40bc10
parentChase MASTER_SITE, use OPTIONS while here (diff)
Add a check to see if WITH_MILTER is not set (and don't build milter
in that case). PR: ports/85834 Submitted by: Vivek Khera <vivek@khera.org> Approved by: blaz@si.FreeBSD.org (maintainer)
-rw-r--r--security/amavisd-new/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 193e42fb03ce..00a309867534 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -72,7 +72,7 @@ RC_DIR= ${PREFIX}/etc/rc.d
RC_SUFX= .sh
.endif
-.if !exists(/usr/lib/libmilter.a) && !exists(${PREFIX}/lib/libmilter.a)
+.if !defined(WITH_MILTER) || (!exists(/usr/lib/libmilter.a) && !exists(${PREFIX}/lib/libmilter.a))
AMAVIS_NOAMAVIS="@comment "
.endif