How to use base OpenSSL with meson-based ports?
Gleb Popov
arrowd at freebsd.org
Tue Mar 31 07:25:48 UTC 2020
Hello.
Meson build system uses pkg-config to locate dependencies. However, OpenSSL
in base does not provide a .pc file (unlike, say, zlib - see
/usr/libdata/pkgconfig/). I haven't found a way in meson to manually set up
a dependency in this case.
I got a suggestion to write my own .pc file and hook it into the build of
my port, but this looks somewhat hackish for me. Why can't we provide a
proper .pc file in the base system?
Thanks in advance.
More information about the freebsd-ports
mailing list