pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34710: add optional debugging support to mutt-devel (patch supplied)



>Number:         34710
>Category:       pkg
>Synopsis:       add optional debugging support to mutt-devel (patch supplied)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 04 10:55:00 +0000 2006
>Originator:     Jukka Salmi
>Release:        pkgsrc HEAD
>Environment:
>Description:
The attached patch adds (optional) debugging support Mutt.
>How-To-Repeat:
Try to run `mutt -d <level>'...
>Fix:
Index: mail/mutt-devel/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mail/mutt-devel/options.mk,v
retrieving revision 1.19
diff -u -p -r1.19 options.mk
--- mail/mutt-devel/options.mk  19 Aug 2006 18:43:02 -0000      1.19
+++ mail/mutt-devel/options.mk  4 Oct 2006 10:48:28 -0000
@@ -5,7 +5,7 @@
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mutt
 PKG_OPTIONS_OPTIONAL_GROUPS=   display
 PKG_OPTIONS_GROUP.display=     slang ncurses
-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
 
 .include "../../mk/bsd.options.mk"
@@ -82,3 +82,10 @@ CONFIGURE_ARGS+=  --with-idn=${BUILDLINK
 .else
 CONFIGURE_ARGS+=  --disable-idn
 .endif
+
+###
+### Enable debugging support
+###
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=       --enable-debug
+.endif




Home | Main Index | Thread Index | Old Index