diff --git a/debian/rules b/debian/rules
index be4441ed30ea95183a4f1515c941e6404570c09e..7d8139a6466575fa36f4dc9f3adb6b9b5dcfacc6 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
--disable-netlink \
--disable-sensors \
--disable-vserver
+else
+ # configure is not currently able to correctly check for ip_vs.h.
+ # ipvs_h_include.dpatch takes care of using the right one. Overwriting
+ # KERNEL_DIR makes sure we don't use any kernel headers directly.
+ confflags += --enable-ipvs=force KERNEL_DIR=/usr
endif
# These plugins have not been ported to FreeBSD yet.