This package (and possibly previous ones) does include /usr/local/ as prefix in the duktape.pm file - presumably an artifact from upstream development. As a result, using pkg-config to add duktape in a project has the side effect of pulling /usr/local/lib and /usr/local/include, which may have unexpected effects if those directories contain different versions of other libraries used in the project, and is not needed anyway since duktape's files are installed in /usr/lib and /usr/include. $ pkg-config --libs --cflags duktape -I/usr/local/include -L/usr/local/lib -lduktape
I swear we fixed this before. Thanks.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=336a45629bc12ad6d5ff4854c51d2a63c1483e3f commit 336a45629bc12ad6d5ff4854c51d2a63c1483e3f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-15 13:08:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-15 13:09:12 +0000 dev-lang/duktape: fix .pc file Closes: https://bugs.gentoo.org/870202 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/duktape/{duktape-2.7.0-r2.ebuild => duktape-2.7.0-r3.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)