Use an approach that is more Debian friendly for excluding pcscd on i386
This commit is contained in:
parent
7a5ed371f7
commit
12690654bb
|
@ -1,3 +1,10 @@
|
|||
pcsc-lite (1.8.26-2.1) unstable; urgency=medium
|
||||
|
||||
* Use an approach that is more Debian friendly for excluding pcscd on i386
|
||||
Closes: #948402
|
||||
|
||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Sun, 26 Jan 2020 11:18:49 +0100
|
||||
|
||||
pcsc-lite (1.8.26-2) unstable; urgency=medium
|
||||
|
||||
* d/rules: use /run instead of (deprecated) /var/run
|
||||
|
|
|
@ -12,3 +12,13 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- $(EXTRA_CONFIGURE_ARGS) --with-systemdsystemunitdir=/lib/systemd/system --enable-usbdropdir=/usr/lib/pcsc/drivers --enable-ipcdir=/run/pcscd $(shell dpkg-buildflags --export=configure)
|
||||
|
||||
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
|
||||
skip_packages = -Npcscd
|
||||
endif
|
||||
|
||||
override_dh_builddeb:
|
||||
dh_builddeb ${skip_packages}
|
||||
|
||||
override_dh_gencontrol:
|
||||
dh_gencontrol ${skip_packages}
|
||||
|
|
Loading…
Reference in New Issue