summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-04-21 20:41:50 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-04-21 20:41:50 +0200
commit7dac1da8ad492fcde649447b85fed6a90230b169 (patch)
tree2b905f38627aef1738d8d5182209527ca01a50b0 /debian/rules
parent5c40e14624a7966886997350a867c3d71c7b9c7a (diff)
d/rules: Add rule to enable --enable-parport-directio for all architectures except hurd-i386
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