Source: dwarves-dfsg Version: 1.10-2.1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
dwarves-dfsg fails to cross build from source, because it does not pass any cross flags to cmake. The easiest way of doing so, is using dh_auto_configure. That is enough to make dwarves-dfsg cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru dwarves-dfsg-1.10/debian/changelog dwarves-dfsg-1.10/debian/changelog --- dwarves-dfsg-1.10/debian/changelog 2016-03-24 14:01:12.000000000 +0100 +++ dwarves-dfsg-1.10/debian/changelog 2018-07-10 21:48:39.000000000 +0200 @@ -1,3 +1,10 @@ +dwarves-dfsg (1.10-2.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 10 Jul 2018 21:48:39 +0200 + dwarves-dfsg (1.10-2.1) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru dwarves-dfsg-1.10/debian/rules dwarves-dfsg-1.10/debian/rules --- dwarves-dfsg-1.10/debian/rules 2012-06-08 20:51:26.000000000 +0200 +++ dwarves-dfsg-1.10/debian/rules 2018-07-10 21:48:36.000000000 +0200 @@ -15,8 +15,7 @@ configure: configure-stamp configure-stamp: dh_testdir - mkdir -p debian/build - cd debian/build && cmake -D__LIB=lib -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="None" ../.. + dh_auto_configure --builddirectory=debian/build -- -D__LIB=lib -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="None" touch $@ build: build-arch build-indep