Created attachment 797035 [details] emerge --info The pkg-config file of dev-cpp/json11 contains the wrong paths on multi-arch (i.e., the vast majority of current (amd64) systems) installations. Observed behaviour: ``` qsx@naboo ~ % pkg-config --cflags json11 -I/usr/include/ qsx@naboo ~ % pkg-config --libs json11 -L/usr/lib/ -ljson11 ``` Expected behaviour: ``` qsx@naboo ~ % pkg-config --cflags json11 qsx@naboo ~ % pkg-config --libs json11 -ljson11 ``` For --cflags, -I/usr/include/ should not be specified at all, since it is default. For --libs, /usr/lib/ is plain wrong and can be omitted, as the correct /usr/lib64 is default as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bebab38678b84cc6bc2793d20be80ea74efc4863 commit bebab38678b84cc6bc2793d20be80ea74efc4863 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2023-03-01 09:24:44 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2023-03-01 09:24:44 +0000 dev-cpp/json11: fix pkg-config file Closes: https://bugs.gentoo.org/863098 Signed-off-by: Florian Schmaus <flow@gentoo.org> ...1.0.0-json11.pc-do-not-state-the-defaults.patch | 22 ++++++++++++++++++++++ dev-cpp/json11/json11-1.0.0-r1.ebuild | 19 +++++++++++++++++++ 2 files changed, 41 insertions(+)