summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 91512fa..69b8f35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,12 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
STRIP = ""
endif
+ifeq (,$(filter hurd-i386,$(DEB_HOST_ARCH)))
+ INS_CONF = --enable-parport-directio
+else
+ INS_CONF = ""
+endif
+
%:
dh $@
@@ -37,7 +43,7 @@ override_dh_auto_configure:
--enable-pnm-backend \
--with-usb \
--without-v4l \
- --enable-parport-directio
+ $(INS_CONF)
override_dh_autoreconf:
dh_autoreconf -Xlibtool.m4