From 9d2ea31ce345269c0de5dc00c4bfc8ecc765136f Mon Sep 17 00:00:00 2001 From: tonio Date: Wed, 18 Oct 2006 20:06:13 +0000 Subject: Add optional debugging support for mutt Patch from Jukka Salmi in PR pkg/34710 --- mail/mutt-devel/options.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'mail/mutt-devel') 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 -- cgit v1.2.3