aboutsummaryrefslogtreecommitdiffstats
path: root/security/amavisd-new
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-10-17 21:20:03 +0800
committerlawrance <lawrance@FreeBSD.org>2005-10-17 21:20:03 +0800
commit0b8e1cb793f6456c8675b73c8714947c0be55bda (patch)
tree75e58d2a6f825aceaa528645dc015a39629304cf /security/amavisd-new
parentae8d669b1cc0926caca97742e4c7b77be9770725 (diff)
downloadfreebsd-ports-gnome-0b8e1cb793f6456c8675b73c8714947c0be55bda.tar.gz
freebsd-ports-gnome-0b8e1cb793f6456c8675b73c8714947c0be55bda.tar.zst
freebsd-ports-gnome-0b8e1cb793f6456c8675b73c8714947c0be55bda.zip
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)
Diffstat (limited to 'security/amavisd-new')
-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