diff --git a/debian/rules b/debian/rules
index a55d09c862ccb508219760087b2c2150401d1b0d..3cbe40c695269789f502bd8e677e49218b68bf62 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
confflags += --disable-netlink
endif
+# These plugins are Linux-specific.
+ifneq (,$(findstring $(DEB_BUILD_ARCH),kfreebsd-i386 kfreebsd-amd64))
+ confflags += \
+ --disable-iptables \
+ --disable-ipvs \
+ --disable-netlink
+endif
+
+# Build-dependencies of these plugins are (not yet) available for kfreebsd.
+ifneq (,$(findstring $(DEB_BUILD_ARCH),kfreebsd-i386 kfreebsd-amd64))
+ confflags += \
+ --disable-gmond \
+ --disable-libvirt \
+ --disable-java
+endif
+
# The hppa buildds currently do not keep up with Java related stuff, thus
# prevending testing transitions.
ifneq (,$(findstring $(DEB_BUILD_ARCH),hppa))