pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/jabberd2 Add a `debug' option which enables the '...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63e77ff5f38d
branches:  trunk
changeset: 529923:63e77ff5f38d
user:      jwise <jwise%pkgsrc.org@localhost>
date:      Tue Jun 12 21:17:34 2007 +0000

description:
Add a `debug' option which enables the '-D' option to the various jabber
daemons (via configure --enable-debug).

diffstat:

 chat/jabberd2/options.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r f506557d2bf2 -r 63e77ff5f38d chat/jabberd2/options.mk
--- a/chat/jabberd2/options.mk  Tue Jun 12 21:04:56 2007 +0000
+++ b/chat/jabberd2/options.mk  Tue Jun 12 21:17:34 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2007/06/12 15:26:07 xtraeme Exp $
+# $NetBSD: options.mk,v 1.16 2007/06/12 21:17:34 jwise Exp $
 #
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.jabberd2
@@ -11,6 +11,7 @@
 PKG_OPTIONS_GROUP.storage+=    storage-sqlite storage-db
 # SASL implementation
 PKG_OPTIONS_GROUP.sasl=                cyrus-sasl gnusasl
+PKG_SUPPORTED_OPTIONS+=                debug
 PKG_SUGGESTED_OPTIONS=         auth-sqlite storage-sqlite gnusasl
 
 .include "../../mk/bsd.options.mk"
@@ -89,3 +90,7 @@
 PLIST_SUBST+=          PAM_OPT='@comment '
 CONFIGURE_ARGS+=       --disable-pam
 .endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=       --enable-debug
+.endif



Home | Main Index | Thread Index | Old Index