diff --git a/debian/rules b/debian/rules
index aab7db998ca552109936748cbd164bf1756d0dae..3e823aa1e3be969ace845b8530139a1368221b75 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
--without-libstatgrab \
--without-included-ltdl \
--disable-static \
+ --disable-silent-rules \
--enable-all-plugins
# These plugins do not provide any functionality under Linux.
--disable-java
endif
+# This plugin is Intel-hardware specific.
+ifeq (,$(filter amd64 i386, $(DEB_BUILD_ARCH)))
+ confflags += \
+ --disable-turbostat
+endif
+
+# libatasmart isn't available on these platforms.
+ifneq (,$(filter hurd-i386 kfreebsd-i386 kfreebsd-amd64, $(DEB_BUILD_ARCH)))
+ confflags += --disable-smart
+endif
+
# The hppa buildds currently do not keep up with Java related stuff, thus
# prevending testing transitions. sparc is also having trouble building the
# java plugin.
dh_installdebconf -a
dh_systemd_enable -pcollectd-core --name=collectd collectd.service
dh_installinit -pcollectd-core --name=collectd -- defaults 95
- dh_systemd_start
+ dh_systemd_start -pcollectd-core
dh_link -a
dh_strip -a --dbg-package=collectd-dbg
+ dh_strip_nondeterminism -pcollectd-core
dh_compress -a -Xexamples/
dh_fixperms -a
dh_makeshlibs -a