diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-08-10 23:46:32 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-08-11 12:35:15 +0200 |
commit | 98e3c1eee505b6c92c75daa1772ba543936b099f (patch) | |
tree | b5c6c68adddcfea2fddc2a73545e5e608740d647 /package/ncmpc/0001-Fix-unique_ptr-error-with-some-old-toolchains.patch | |
parent | c4f18dd3c8664bb6715122c62a32e3b4388fa34e (diff) | |
download | buildroot-98e3c1eee505b6c92c75daa1772ba543936b099f.tar.gz buildroot-98e3c1eee505b6c92c75daa1772ba543936b099f.zip |
mesa3d-headers: fix logic to generate the dri.pc file
As noted by Arnout in [1], the logic in mesa3d-headers.mk generates a
bogus dri.pc file, which looks like this:
prefix=/usr
exec_prefix=/usr
libdir=/lib
includedir=/include
dridriverdir=/dri
Indeed, the ${...} are expanded as shell variables when the sed
command is executed, while the intention is that those ${...} should
go in the .pc file. By escaping those using $${...}, we get the
expected .pc file:
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include
dridriverdir=${libdir}/dri
This was detected by the not yet committed check-package improvement
from Ricardo that detects bogus ${...} usage to reference make
variables.
[1] http://lists.busybox.net/pipermail/buildroot/2018-July/225402.html
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>
Diffstat (limited to 'package/ncmpc/0001-Fix-unique_ptr-error-with-some-old-toolchains.patch')
0 files changed, 0 insertions, 0 deletions