summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog8
-rwxr-xr-xdebian/rules8
2 files changed, 15 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 3ce7ac9..1c85d8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sane-backends (1.0.27-1~experimental5) UNRELEASED; urgency=medium
+
+ * debian/rules:
+ - Add rule to enable --enable-parport-directio for all architectures
+ except hurd-i386.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 21 Apr 2018 19:26:04 +0200
+
sane-backends (1.0.27-1~experimental4) experimental; urgency=medium
* Change to my new email address.
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