diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-28 01:18:52 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-28 01:18:52 +0400 |
commit | 191f72de99abb03c337409bae79eec6434660741 (patch) | |
tree | 772c986b74eafebb1b88ac17d0088a419737507f | |
parent | 14c1ca45e4d7ec44bbaa3f435dc515df4b925524 (diff) | |
download | cups-191f72de99abb03c337409bae79eec6434660741.tar.gz |
No USB on Dyson for a while
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 6 |
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: |