aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamilter
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamilter')
-rw-r--r--mail/spamilter/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/spamilter/Makefile b/mail/spamilter/Makefile
index 42b9df582fb9..672a391005eb 100644
--- a/mail/spamilter/Makefile
+++ b/mail/spamilter/Makefile
@@ -47,6 +47,13 @@ CONFIGURE_ARGS+= --with-popauth
CONFIGURE_ARGS+= --with-pam
.endif
+.if defined(WITH_LIBSPF)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libspf.a:mail/libspf
+CONFIGURE_ARGS+= --with-libspf ${LOCALBASE}
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+.endif
+
.if ${OSVERSION} >= 700015 || (${OSVERSION} < 700000 && ${OSVERSION} >= 601103)
CONFIGURE_ARGS+= --have-resn
.endif