From: Sebastian Harl Date: Sun, 10 May 2009 15:39:00 +0000 (+0200) Subject: rules: Be more verbose about why certain plugins are disabled. X-Git-Tag: collectd-4.7.2-1~38^2^2^2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bd230cd456a34d7e6641d425e0ebd939916ce20e;p=pkg-collectd.git rules: Be more verbose about why certain plugins are disabled. Also, explicitly disable the oracle and rrdcached plugins (whose dependencies are not available (yet) in Debian) to ensure consistent builds no matter what is available on the build system. --- diff --git a/debian/rules b/debian/rules index 28a38b9..9e171a6 100755 --- a/debian/rules +++ b/debian/rules @@ -39,21 +39,31 @@ confflags = --host=$(DEB_HOST_GNU_TYPE) \ --mandir=\$${prefix}/share/man \ --localstatedir=/var --sysconfdir=/etc \ --with-perl-bindings="INSTALLDIRS=vendor" \ - --disable-onewire \ - --disable-xmms \ --without-libstatgrab +# These plugins do not provide any functionality under Linux. +confflags += --disable-apple_sensors --disable-tape + # libganglia >= 3 is required for the gmond plugin. confflags += --disable-gmond # libmemcached is required for the memcachec plugin. confflags += --disable-memcachec -# These plugins do not provide any functionality under Linux. -confflags += --disable-apple_sensors --disable-tape +# libowcapi is required for the onewire plugin. +confflags += --disable-onewire + +# libclntsh is required for the oracle plugin. +confflags += --disable-oracle + +# rrdclient support in librrd is required for the rrdcached plugin. +confflags += --disable-rrdcached + +# xmms1 is required for the xmms plugin. +confflags += --disable-xmms # The static library netstat cannot be linked into shared objects on some -# architectures (see bugs #358637 and #419684 for more details). +# architectures (see bugs #358637, #419684 and #524593 for more details). ifneq (,$(findstring $(DEB_BUILD_ARCH),alpha amd64 hppa ia64 ppc64 mips mipsel)) confflags += --disable-netlink endif