diff options
author | jwise <jwise@pkgsrc.org> | 2007-06-12 21:17:34 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2007-06-12 21:17:34 +0000 |
commit | af365074ae44f3eb9eeedbca5e8ab33dd1d41304 (patch) | |
tree | 2eccf814c3ca377ec798779b36f0cfe5e2e7ff38 /chat | |
parent | 697bc3cb1574903d48188010450626e82ccdf1c1 (diff) | |
download | pkgsrc-af365074ae44f3eb9eeedbca5e8ab33dd1d41304.tar.gz |
Add a `debug' option which enables the '-D' option to the various jabber
daemons (via configure --enable-debug).
Diffstat (limited to 'chat')
-rw-r--r-- | chat/jabberd2/options.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chat/jabberd2/options.mk b/chat/jabberd2/options.mk index dae8588a370..51b8f77e6da 100644 --- a/chat/jabberd2/options.mk +++ b/chat/jabberd2/options.mk @@ -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-mysql storage-pgsql 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 @@ CONFIGURE_ARGS+= --enable-pam PLIST_SUBST+= PAM_OPT='@comment ' CONFIGURE_ARGS+= --disable-pam .endif + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +.endif |