Using libc0.1-dev for Built-Using on kfreebsd (Closes: #769563).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b10992acba
commit
0ac979e333
1 changed files with 6 additions and 0 deletions
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
||||
|
||||
%:
|
||||
dh ${@} --parallel
|
||||
|
||||
|
@ -16,7 +18,11 @@ override_dh_builddeb:
|
|||
dh_builddeb -- -Zxz
|
||||
|
||||
override_dh_gencontrol:
|
||||
ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
|
||||
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:
|
||||
dh_strip --dbg-package=zutils-dbg
|
||||
|
|
Loading…
Add table
Reference in a new issue