summaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2006-10-18 20:06:13 +0000
committertonio <tonio@pkgsrc.org>2006-10-18 20:06:13 +0000
commit9f75e029bb39641e7d2bae53a52d03da967051e5 (patch)
tree22b4ea5a72c107451f9a9c88c2dd3ce0ff8499aa /mail/mutt-devel
parent18fd57bd59a97c409b16e3a8527c24db7bb9b63c (diff)
downloadpkgsrc-9f75e029bb39641e7d2bae53a52d03da967051e5.tar.gz
Add optional debugging support for mutt
Patch from Jukka Salmi in PR pkg/34710
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/mutt-devel/options.mk b/mail/mutt-devel/options.mk
index 89a27a2cde7..9c4f6dd3c99 100644
--- a/mail/mutt-devel/options.mk
+++ b/mail/mutt-devel/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.20 2006/10/18 19:46:35 tonio Exp $
+# $NetBSD: options.mk,v 1.21 2006/10/18 20:06:13 tonio Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.mutt
PKG_OPTIONS_REQUIRED_GROUPS= display
PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses
-PKG_SUPPORTED_OPTIONS= ssl sasl mutt-hcache idn mutt-compressed-mbox
+PKG_SUPPORTED_OPTIONS= ssl sasl mutt-hcache idn mutt-compressed-mbox debug
PKG_SUGGESTED_OPTIONS= ssl curses
.include "../../mk/bsd.options.mk"
@@ -101,3 +101,10 @@ CONFIGURE_ARGS+= --with-idn=${BUILDLINK_PREFIX.libidn}
.else
CONFIGURE_ARGS+= --disable-idn
.endif
+
+###
+### Enable debugging support
+###
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.endif