Date: Tue, 31 Mar 2020 11:24:58 +0400 From: Gleb Popov <arrowd@freebsd.org> To: FreeBSD ports list <freebsd-ports@freebsd.org> Subject: How to use base OpenSSL with meson-based ports? Message-ID: <CALH631kLBkFXqZufND5Hf6qr1Sq8848JLH-A1U=iXru%2BTErfNg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631kLBkFXqZufND5Hf6qr1Sq8848JLH-A1U=iXru%2BTErfNg>