From bd230cd456a34d7e6641d425e0ebd939916ce20e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 10 May 2009 17:39:00 +0200 Subject: [PATCH] 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. --- debian/rules | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) 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 -- 2.30.2