summaryrefslogtreecommitdiff
path: root/mail/vbsfilter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/vbsfilter/Makefile')
-rw-r--r--mail/vbsfilter/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/vbsfilter/Makefile b/mail/vbsfilter/Makefile
index 9fa3dd9e96d3..9198ce07f2ca 100644
--- a/mail/vbsfilter/Makefile
+++ b/mail/vbsfilter/Makefile
@@ -17,13 +17,16 @@ MAINTAINER= dirk.meyer@dinoex.sub.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
-NO_PACKAGE= "only with sendmail from the ports"
-
CTARGETS+= vbsfilter-1.3
CFLAGS+= -Wall -I$(LOCALBASE)/include ${PTHREAD_CFLAGS}
FLAGS+= ${PTHREAD_LIBS}
LDFLAGS+= -L$(LOCALBASE)/lib
LIBS+= -lmilter -lsmutil
+
+.if defined(BATCH)
+SENDMAIL_WITH_MILTER= yes
+.endif
+
.if defined(SENDMAIL_WITH_SFIO)
LIBS+= -lsfio
.endif