On 2019-10-27, at 16:38:50 +0100, Helmut Grohne wrote: > Source: wmbattery > Version: 2.51-2 > Tags: patch > User: debian-cr...@lists.debian.org > Usertags: ftcbfs > > wmbattery fails to cross build from source, because the upstream > Makefile configures for the build architecture when running make clean > and this is what dh_auto_clean does ahead of a build. We can prevent > that behaviour by carefully touching a few files that are to be removed > anyway. > > Then it fails, because the Makefile runs the build architecture > pkg-config. In theory, make has no business in running pkg-config in an > autotools project. It should be using PKG_CHECK_MODULES instead. > > Please consider applying the attached patch.
I'll fix this upstream. J.
signature.asc
Description: PGP signature