Source: bwm-ng Version: 0.6.1-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap
bwm-ng fails to cross build from source, because it does not find any input methods. Upstream decided that it would disable all detection for cross compilation (even though the use of AC_CHECK_FILE would have been correct). Thus the maintainer is supposed to provide the relevant --with flags. The attached patch achieves just that. Please consider applying it. Helmut
diff --minimal -Nru bwm-ng-0.6.1/debian/changelog bwm-ng-0.6.1/debian/changelog --- bwm-ng-0.6.1/debian/changelog 2017-08-19 16:09:54.000000000 +0200 +++ bwm-ng-0.6.1/debian/changelog 2017-09-15 14:07:38.000000000 +0200 @@ -1,3 +1,10 @@ +bwm-ng (0.6.1-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass missing --with flags to ./configure (closes: #-1). + + -- Helmut Grohne <hel...@subdivi.de> Fri, 15 Sep 2017 14:07:38 +0200 + bwm-ng (0.6.1-3) unstable; urgency=medium * Bump Standards-Version to 4.0.1. diff --minimal -Nru bwm-ng-0.6.1/debian/rules bwm-ng-0.6.1/debian/rules --- bwm-ng-0.6.1/debian/rules 2017-08-19 16:09:54.000000000 +0200 +++ bwm-ng-0.6.1/debian/rules 2017-09-15 14:07:38.000000000 +0200 @@ -1,6 +1,19 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + export DEB_BUILD_MAINT_OPTIONS = hardening=+all +CONFIGURE_FLAGS = +ifeq ($(DEB_HOST_ARCH_OS),linux) +CONFIGURE_FLAGS += --with-diskstats --with-procnetdev +endif +ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) +CONFIGURE_FLAGS += --with-partitions --with-procnetdev +endif + %: dh $@ + +override_dh_auto_configure: + dh_auto_configure -- $(CONFIGURE_FLAGS)