summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-28 01:18:52 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-28 01:18:52 +0400
commit191f72de99abb03c337409bae79eec6434660741 (patch)
tree772c986b74eafebb1b88ac17d0088a419737507f
parent14c1ca45e4d7ec44bbaa3f435dc515df4b925524 (diff)
downloadcups-191f72de99abb03c337409bae79eec6434660741.tar.gz
No USB on Dyson for a while
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules6
2 files changed, 5 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index ec5504d2..9605e6ba 100644
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,7 @@ Build-Depends:
libslp-dev,
libsystemd-daemon-dev [linux-any],
libtiff-dev,
- libusb-1.0-0-dev [!hurd-any],
+ libusb-1.0-0-dev [!hurd-any !illumos-any],
po4a (>= 0.31~),
po-debconf,
poppler-utils,
diff --git a/debian/rules b/debian/rules
index c1a704a1..1afb9aa2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,10 +19,12 @@ DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
%:
dh $@ --with systemd
+CONFIG_LIBUSB=--enable-libusb
ifeq ($(DEB_HOST_ARCH_OS),hurd)
CONFIG_LIBUSB=--disable-libusb
-else
-CONFIG_LIBUSB=--enable-libusb
+endif
+ifeq ($(DEB_HOST_ARCH_OS),illumos)
+CONFIG_LIBUSB=--disable-libusb
endif
override_dh_auto_configure: