package/pkgconf: add patch to restore pre-1.5.3 behavior for sysroot prefixing
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 18 Dec 2018 21:44:43 +0000 (22:44 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 21 Dec 2018 15:34:59 +0000 (16:34 +0100)
commit7125fc5c1a8a96ff8eee057789358702e1b55835
tree1bead481c7fd65a28296d8a1f533d53bcc316145
parent8aaf05916c20d1fe3fafd424fdcd77726de140c4
package/pkgconf: add patch to restore pre-1.5.3 behavior for sysroot prefixing

Prior to the bump to version 1.5.3 in commit
4e423669399ad8389edd81761ea5c9cc26bf312d, we had a patch on pkgconf
that ensures only some variables containing paths were prefixed by the
sysroot directory when queried through pkg-config. This patch was
dropped as part of the 1.5.3 bump, but it turns out we really need
something like this, or a significant number of changes need to be
done to existing packages.

Indeed, pkg-config has no notion of which variable/path gets used at
build time vs. which variable/path gets used at runtime. Prefixing
with the sysroot the paths used at build time works and is desirable,
but prefixing the paths used at runtime doesn't work.

This commit should fix a large number of remaining build failures
related to pkgconf 1.5.3, and should allow reverting a significant
number of workarounds.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pkgconf/0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch [new file with mode: 0644]