summaryrefslogtreecommitdiff
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
parent5c40e14624a7966886997350a867c3d71c7b9c7a (diff)
d/rules: Add rule to enable --enable-parport-directio for all architectures except hurd-i386
-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