summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-09-17 12:01:37 +0000
committeradam <adam@pkgsrc.org>2010-09-17 12:01:37 +0000
commit65392e62c6bb8840f101ea5ebb398a41de7a6014 (patch)
treef4c3d8e51d915909f209b8e86d473203dcf02e27 /mail/exim
parentd588e9043b5726800fbb5352fb19672aa5fcf210 (diff)
downloadpkgsrc-65392e62c6bb8840f101ea5ebb398a41de7a6014.tar.gz
Added optional support for SPF
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/exim/options.mk b/mail/exim/options.mk
index 8cf25aed617..f19eb8d427d 100644
--- a/mail/exim/options.mk
+++ b/mail/exim/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.17 2010/06/06 14:15:30 adam Exp $
+# $NetBSD: options.mk,v 1.18 2010/09/17 12:01:37 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.exim
PKG_SUPPORTED_OPTIONS= exim-appendfile-maildir exim-appendfile-mailstore
@@ -7,7 +7,7 @@ PKG_SUPPORTED_OPTIONS+= exim-content-scan exim-lookup-cdb exim-lookup-dnsdb
PKG_SUPPORTED_OPTIONS+= exim-lookup-dsearch exim-lookup-ldap exim-lookup-mysql
PKG_SUPPORTED_OPTIONS+= exim-lookup-pgsql exim-lookup-sqlite exim-lookup-whoson
PKG_SUPPORTED_OPTIONS+= exim-old-demime exim-router-iplookup exim-tcp-wrappers
-PKG_SUPPORTED_OPTIONS+= exim-tls exim-transport-lmtp gdbm inet6 saslauthd
+PKG_SUPPORTED_OPTIONS+= exim-tls exim-transport-lmtp gdbm inet6 saslauthd spf
PKG_SUPPORTED_OPTIONS+= readline
PKG_SUGGESTED_OPTIONS= exim-appendfile-maildir exim-appendfile-mailstore
@@ -143,6 +143,12 @@ LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.cyrus-sasl}
. include "../../security/cyrus-sasl/buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Mspf)
+LOCAL_MAKEFILE_OPTIONS+=EXPERIMENTAL_SPF=yes
+LOOKUP_LIBS+= -lspf2
+. include "../../mail/libspf2/buildlink3.mk"
+.endif
+
.if !empty(PKG_OPTIONS:Mreadline)
LOCAL_MAKEFILE_OPTIONS+=USE_READLINE=yes
LOOKUP_LIBS+= -lreadline