Updating glibc depends check to work with some porter architectures as well (Closes: #784134).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f0a6b896c5
commit
f05ca0adb6
1 changed files with 1 additions and 7 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh ${@} --parallel
|
dh ${@} --parallel
|
||||||
|
|
||||||
|
@ -18,11 +16,7 @@ override_dh_builddeb:
|
||||||
dh_builddeb -- -Zxz
|
dh_builddeb -- -Zxz
|
||||||
|
|
||||||
override_dh_gencontrol:
|
override_dh_gencontrol:
|
||||||
ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
|
dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc-dev-bin))"
|
||||||
dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc0.1-dev))"
|
|
||||||
else
|
|
||||||
dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc6-dev))"
|
|
||||||
endif
|
|
||||||
|
|
||||||
override_dh_strip:
|
override_dh_strip:
|
||||||
dh_strip --dbg-package=zutils-dbg
|
dh_strip --dbg-package=zutils-dbg
|
||||||
|
|
Loading…
Add table
Reference in a new issue