summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mutt-devel/options.mk')
-rw-r--r--mail/mutt-devel/options.mk15
1 files changed, 13 insertions, 2 deletions
diff --git a/mail/mutt-devel/options.mk b/mail/mutt-devel/options.mk
index a227ca6bbdc..489faf0cc1f 100644
--- a/mail/mutt-devel/options.mk
+++ b/mail/mutt-devel/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.5 2005/05/31 10:01:38 dillo Exp $
+# $NetBSD: options.mk,v 1.6 2005/08/02 12:57:02 tonio Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.mutt
-PKG_SUPPORTED_OPTIONS= slang ncurses ssl sasl
+PKG_SUPPORTED_OPTIONS= slang ncurses ssl sasl hcache
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
@@ -39,3 +39,14 @@ CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
.else
CONFIGURE_ARGS+= --without-ssl
.endif
+
+###
+### Header cache
+###
+.if !empty(PKG_OPTIONS:Mhcache)
+BDB_ACCEPTED= db4
+. include "../../mk/bdb.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-hcache
+.else
+CONFIGURE_ARGS+= --disable-hcache
+.endif