xfel fails to cross build from source, because the upstream Makefile hard codes the build architecture pkg-config. I'm attaching a patch to make it substitutable. Once applying the patch, it completes the build but fails running help2man. I fear for help2man there is no easy solution as it is fundamentally incompatible with cross building. The package could include a pre-generated manual page, have a manually written manual page, support the nodoc build profile, install the documentation to a separate -doc package or implement one of a few other schemes. However, this bug report shall only be concerned with the wrong use of pkg-config as that has an obvious solution. Please forward the patch upstream. Helmut