diff --git a/debian/control b/debian/control
index 2237886c74d24c0f1f5a69ca8401796d3a87d693..35ac9b323e052c61fa2fb9e6e4c91c7c0bb5c7c6 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,7 @@ Build-Depends: debhelper (>= 9),
                libx11-dev,
                libv4l-dev [!hurd-any],
                libusb-dev,
-               libfreenect-dev,
+               libfreenect-dev [!hurd-any],
                libois-dev [linux-any],
 	       visp-images-data
 Standards-Version: 3.9.4
diff --git a/debian/rules b/debian/rules
index c7926ecaf42d239b64a1f97d836325b11ae21bed..6eb1193f111446217f2939b7a068d514e1107d44 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,9 +51,9 @@ endif
 
 # freenect is not available on hurd.
 ifeq ($(DEB_HOST_ARCH_OS),hurd)
-  CONFIGURE_ARGS += -DLIBFEENECT=OFF
+  CONFIGURE_ARGS += -DUSE_LIBFEENECT=OFF
 else
-  CONFIGURE_ARGS += -DLIBFEENECT=ON
+  CONFIGURE_ARGS += -DUSE_LIBFEENECT=ON
 endif