diff --git a/debian/rules b/debian/rules
index 6b0f1ef2e145c1fadec2ec382b0179c635c2558b..0470778f0380bc8e1b0091b3104fc502adaae6bb 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
--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.