FreeBSD Port: devel/meson

Peter TKATCHENKO peter at flytrace.com
Sat Nov 2 22:42:20 UTC 2019


Hello,

It seems that Meson does not respect FreeBSD path for pkg-config files (*.pc).
I found this PR: https://github.com/mesonbuild/meson/pull/4410 <https://github.com/mesonbuild/meson/pull/4410> that is still not merged.
Actually the workaround is in place for the ports system: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218067 <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218067> 
Unfortunately, the workaround is not effective for manually installed software. So, for any library, built with Meson, pkg-config files go to the incorrect directory and cannot be found by pkg-config. This is really confused for end-users.
Would it be possible to fix the problem at Meson level? 
It looks that the most simple way is adding to Meson a possibility to force a pkg-config directory at the same way like it is doing for other directories (for example, --libexecdir) - add a command-line parameter --pkgconfigdir or something like this. 
Another way could be patching Meson at the ports level and force the correct directory here (I saw that some patches are already present in the port).
Right now a large project is migrating to Meson build system (EFL 1.23), so everyone who wants to test it on FreeBSD is penalised by the problem of pc files. Evidently, EFL developers suppose that the problem should be fixed on Meson level https://phab.enlightenment.org/T8360 <https://phab.enlightenment.org/T8360> 

Could you, please, take attention to this problem?

Best regards,
Peter


More information about the freebsd-gnome mailing list