Source: pcsc-lite Version: 1.7.2-2 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, currently pcsc-lite cannot be compiled on hurd-i386. There are two problems, which are both fixed with the attached patch: - libusb2-dev is specific to kfreebsd (it is part of the freebsd-libs source), so this build dependency is restricted to kfreebsd-any - we have no libusb-1.0 on hurd yet, so on hurd OSes the libusb usage is disabled (otherwise ./configure fails) Thanks, -- Pino
--- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Section: misc Priority: optional Maintainer: Ludovic Rousseau <rouss...@debian.org> -Build-Depends: debhelper (>= 7.0.50~), flex, autotools-dev, libudev-dev [linux-any], libusb2-dev [!linux-any], pkg-config +Build-Depends: debhelper (>= 7.0.50~), flex, autotools-dev, libudev-dev [linux-any], libusb2-dev [kfreebsd-any], pkg-config Standards-Version: 3.9.1 Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/pcsc-lite/trunk Vcs-Browser: http://svn.debian.org/viewsvn/collab-maint/deb-maint/pcsc-lite/trunk/ --- a/debian/rules +++ b/debian/rules @@ -1,3 +1,13 @@ #!/usr/bin/make -f + +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +ifeq ($(DEB_HOST_ARCH_OS),hurd) + EXTRA_CONFIGURE_ARGS += --enable-libusb=no +endif + %: dh $@ + +override_dh_auto_configure: + dh_auto_configure -- $(EXTRA_CONFIGURE_ARGS) +