diff --git a/debian/changelog b/debian/changelog index 09b841a..62de482 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pcsc-lite (1.7.3-2) unstable; urgency=low + + * debian/{rules,control}: special treatment for Hurd. Thanks to Pino Toscano + for the patch. Really Closes: #626201 + + -- Ludovic Rousseau Wed, 22 Jun 2011 16:33:26 +0200 + pcsc-lite (1.7.3-1) unstable; urgency=low * New upstream release diff --git a/debian/control b/debian/control index 8895147..9767778 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: pcsc-lite Section: misc Priority: optional Maintainer: Ludovic Rousseau -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.2 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/ diff --git a/debian/rules b/debian/rules index cbe925d..e1e7986 100755 --- a/debian/rules +++ b/debian/rules @@ -1,3 +1,12 @@ #!/usr/bin/make -f + +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +ifeq ($(DEB_HOST_ARCH_OS),hurd) + EXTRA_CONFIGURE_ARGS += --disable-usb +endif + %: dh $@ + +override_dh_auto_configure: + dh_auto_configure -- $(EXTRA_CONFIGURE_ARGS)