pkgsrc-WIP-changes archive

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

collectd: add debug option



Module Name:	pkgsrc-wip
Committed By:	Edgar Fuß <ef%math.uni-bonn.de@localhost>
Pushed By:	ef
Date:		Fri Jul 17 16:27:34 2020 +0200
Changeset:	f9a4ab281d9d9eb1d833410787123a60380f5ac6

Modified Files:
	collectd/options.mk

Log Message:
collectd: add debug option

Added a collectd-debug option (defaulting to off).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f9a4ab281d9d9eb1d833410787123a60380f5ac6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 collectd/options.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/collectd/options.mk b/collectd/options.mk
index e43564771f..3c6f21b90e 100644
--- a/collectd/options.mk
+++ b/collectd/options.mk
@@ -20,6 +20,8 @@ PKG_SUGGESTED_OPTIONS.Darwin+=	processes swap tcpconns users
 PKG_SUPPORTED_OPTIONS.SunOS+=	disk nfs swap users zfs-arc zone
 PKG_SUGGESTED_OPTIONS.SunOS+=	disk nfs swap users zfs-arc zone
 
+PKG_SUPPORTED_OPTIONS+=		collectd-debug
+
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=		apple-sensors battery contextswitch cpu entropy \
@@ -34,3 +36,7 @@ CONFIGURE_ARGS+=	--enable-${option:S/-/_/}
 PLIST.${option}=	yes
 .  endif
 .endfor
+
+.if !empty(PKG_OPTIONS:Mcollectd-debug)
+CONFIGURE_ARGS+=	--enable-debug
+.endif


Home | Main Index | Thread Index | Old Index