Applying patch from Helmut Grohne <helmut@subdivi.de> to fix FTBFS when cross-compiling (Closes: #884722).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5139df81bb
commit
31f44a0345
1 changed files with 8 additions and 1 deletions
9
debian/rules
vendored
9
debian/rules
vendored
|
@ -1,10 +1,17 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
include /usr/share/dpkg/architecture.mk
|
||||||
|
|
||||||
|
ifeq ($(origin CXX),default)
|
||||||
|
CXX := $(DEB_HOST_GNU_TYPE)-g++
|
||||||
|
endif
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh ${@}
|
dh ${@}
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
dh_auto_configure -- 'CXX=$(CXX)'
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- DESTDIR=$(CURDIR)/debian/plzip
|
dh_auto_install -- DESTDIR=$(CURDIR)/debian/plzip
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue