summaryrefslogtreecommitdiff
path: root/mail/postfix/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix/options.mk')
-rw-r--r--mail/postfix/options.mk13
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/postfix/options.mk b/mail/postfix/options.mk
index 80feddd2fcb..dc5e8cafff9 100644
--- a/mail/postfix/options.mk
+++ b/mail/postfix/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.32 2008/06/03 10:30:51 ghen Exp $
+# $NetBSD: options.mk,v 1.33 2008/10/16 09:40:20 martti Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.postfix
-PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl tls
+PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl sqlite tls
PKG_SUGGESTED_OPTIONS= tls
.include "../../mk/bsd.options.mk"
@@ -83,6 +83,15 @@ AUXLIBS+= -L${PGSQL_PREFIX}/lib -lpq \
.endif
###
+### Support using a SQLite database for table lookups.
+###
+.if !empty(PKG_OPTIONS:Msqlite)
+. include "../../databases/sqlite3/buildlink3.mk"
+CCARGS+= -DHAS_SQLITE -I${SQLITE3_PREFIX}/include/sqlite3
+AUXLIBS+= -L${SQLITE3_PREFIX}/lib -lsqlite3
+.endif
+
+###
### Cyrus SASL support for SMTP authentication.
### (Dovecot SASL support is built in by default.)
###