Bug#815947: FTBFS[kfreebsd]: please don't build-depend on libusb-dev there
flashrom stopped building on kfreebsd with the last upload.
The package build-depends on two different versions of libusb.
On kfreebsd, libusb-1.0-0-dev is sufficient, so please at least limit
the libusb-dev dependency to [!kfreebsd-any], as in the attached patch.
However, considering libusb-dev is planned for removal soon...
So maybe that build-dependency should be dropped altogether. Perhaps
mention it in Bug#810470 if there is some problem with that.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- debian/control.orig 2016-02-19 14:54:58.000000000 +0000
+++ debian/control 2016-02-26 00:54:20.308595899 +0000
@@ -2,7 +2,7 @@
Maintainer: Uwe Hermann <email@example.com>
-Build-Depends: cdbs, debhelper (>= 9.0.0), libpci-dev, libusb-dev, libusb-1.0-0-dev, libftdi1-dev
+Build-Depends: cdbs, debhelper (>= 9.0.0), libpci-dev, libusb-dev [!kfreebsd-any], libusb-1.0-0-dev, libftdi1-dev