[Debian-med-packaging] Bug#933024: crac FTCBFS: uses the build architecture pkg-config

Helmut Grohne helmut at subdivi.de
Thu Jul 25 20:31:15 BST 2019


Source: crac
Version: 2.5.2+dfsg-1
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

crac fails to cross build from source, because it uses the build
architecture pkg-config in its Makefile.am files. Doing so is an
anti-pattern. You should never call pkg-config from a Makefile.am.
Instead such checks should be performed at configure time. The attached
patch implements that and makes crac cross buildable. Please consider
applying it.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 1982 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20190725/afe34999/attachment.patch>


More information about the Debian-med-packaging mailing list