summaryrefslogtreecommitdiff
path: root/mail/vbsfilter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/vbsfilter/Makefile')
-rw-r--r--mail/vbsfilter/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/vbsfilter/Makefile b/mail/vbsfilter/Makefile
index a589877153fd..9fa3dd9e96d3 100644
--- a/mail/vbsfilter/Makefile
+++ b/mail/vbsfilter/Makefile
@@ -20,8 +20,8 @@ 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 -D_THREAD_SAFE
-FLAGS+= -pthread
+CFLAGS+= -Wall -I$(LOCALBASE)/include ${PTHREAD_CFLAGS}
+FLAGS+= ${PTHREAD_LIBS}
LDFLAGS+= -L$(LOCALBASE)/lib
LIBS+= -lmilter -lsmutil
.if defined(SENDMAIL_WITH_SFIO)