From 5bf0a817efd45679e140c55b5294a4cde7958abd Mon Sep 17 00:00:00 2001
From: Thomas Moulard <thomas.moulard@gmail.com>
Date: Tue, 17 Sep 2013 15:12:24 +0900
Subject: [PATCH] Disable libfreenect on Hurd (again)

---
 debian/control | 2 +-
 debian/rules   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 35ac9b32..c57801ab 100644
--- a/debian/control
+++ b/debian/control
@@ -55,7 +55,7 @@ Depends: libopencv-dev [!any-sparc64 !x32],
          libx11-dev,
          libv4l-dev [!hurd-any],
          libusb-dev,
-         libfreenect-dev,
+         libfreenect-dev [!hurd-any],
          libois-dev [linux-any],
          libvisp2.8 (= ${binary:Version}),
          ${misc:Depends}
diff --git a/debian/rules b/debian/rules
index 6eb1193f..039c2ca8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,7 +38,7 @@ CONFIGURE_ARGS=	\
  -DUSE_COIN=ON -DUSE_GSL=OFF					\
  -DUSE_LAPACK=ON -DUSE_OGRE=ON					\
  -DUSE_XML2=ON -DUSE_GTK2=ON -DUSE_LIBJPEG=ON			\
- -DUSE_LIBPNG=ON -DUSE_X11=ON -DUSE_LIBFREENECT=ON
+ -DUSE_LIBPNG=ON -DUSE_X11=ON
 
 # dc1394, v4l and ois are only available on Linux.
 ifneq ($(DEB_HOST_ARCH_OS),linux)
@@ -51,9 +51,9 @@ endif
 
 # freenect is not available on hurd.
 ifeq ($(DEB_HOST_ARCH_OS),hurd)
-  CONFIGURE_ARGS += -DUSE_LIBFEENECT=OFF
+  CONFIGURE_ARGS += -DUSE_LIBFREENECT=OFF
 else
-  CONFIGURE_ARGS += -DUSE_LIBFEENECT=ON
+  CONFIGURE_ARGS += -DUSE_LIBFREENECT=ON
 endif
 
 
-- 
GitLab