From: Marc Fournier Date: Tue, 25 Aug 2015 15:27:49 +0000 (+0200) Subject: disable smart plugin on non-linux platforms X-Git-Tag: collectd-5.5.0-3~3^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2bc909886d5dfa54c9df8fc3df45fbee65aa14d7;p=pkg-collectd.git disable smart plugin on non-linux platforms --- diff --git a/debian/changelog b/debian/changelog index 794ae10..53fdbfb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ collectd (5.5.0-3) UNRELEASED; urgency=medium - * debian/rules: + * debian/rules, debian/control: - Avoid hiding compiler options, allowing the buildd log scanner to do it's job. + - Disable smart plugin on non-linux platforms, due to missing + libatasmart-dev build-dependency. -- Marc Fournier Tue, 25 Aug 2015 06:55:52 +0200 diff --git a/debian/control b/debian/control index 1f124e6..875f9c1 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.14.10), po-debconf, dh-sys iptables-dev (>= 1.4.3.2-2) [linux-any], javahelper, kfreebsd-kernel-headers [kfreebsd-any], - libatasmart-dev, + libatasmart-dev [linux-any], libcap-dev [linux-any], libcurl4-gnutls-dev (>= 7.18.2-5) | libcurl4-gnutls-dev (<= 7.18.2-1) | libcurl3-gnutls-dev, libdbi0-dev, diff --git a/debian/rules b/debian/rules index 6b0f1ef..0470778 100755 --- a/debian/rules +++ b/debian/rules @@ -151,6 +151,11 @@ ifeq (,$(filter amd64 i386, $(DEB_BUILD_ARCH))) --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.