From 168f04b9cec34039cca2afc2b2ae7394bc32fd8f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 8 Nov 2015 05:40:05 +0100 Subject: Adding debian version 1.3-4. Signed-off-by: Daniel Baumann --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index d7cb7c9..2ec5912 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- cgit v1.2.3