On Wed, 13 Mar 2024, Thomas Klausner wrote:
without it: Libs: -L${libdir} -lespeak-ng which might lead to software depending on it to _not_ find the espeak-ng library at run-time.By the way, shouldn't this be automatically fixed when the port has a buildlink3.mk? Doesn't it make sense?People might want to build software outside of pkgsrc but use pkgsrc-installed libraries - so the fix needs to be there in the installed files.
Yes, I mean something like checking if the port you are building has a buildlink3.mk file so other programs could depend on it and then fix the pkg-config file. A variable could be use in the buildlink3.mk if the pkg-config file name doesn't correspond with pkgbase. Just an idea... adr