aboutsummaryrefslogtreecommitdiff
path: root/mail/spamilter
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-05-07 05:06:36 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-05-07 05:06:36 +0000
commit8a465fb2cf56bd30a4e76265531dcd3a589a4368 (patch)
treea990581b931b5a643f933abe04883a4fe31ef8cc /mail/spamilter
parentfb1bd2c218543adfa3760afda2abe32f717b05b5 (diff)
downloadports-8a465fb2cf56bd30a4e76265531dcd3a589a4368.tar.gz
ports-8a465fb2cf56bd30a4e76265531dcd3a589a4368.zip
- new option WITH_LIBSPF
Submitted by: Paul Koene
Notes
Notes: svn path=/head/; revision=233345
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