How to use base OpenSSL with meson-based ports?
Koichiro Iwao
meta at FreeBSD.org
Wed Apr 1 04:43:02 UTC 2020
In my ports, I patch configure.ac to find OpenSSL not relying on
pkg-config.
https://svnweb.freebsd.org/ports/head/net/xrdp/files/patch-configure.ac?revision=469777&view=markup#l8
See also this.
http://empt1e.blogspot.com/2011/05/dealing-with-pkg-config-detection-of.html
https://github.com/neutrinolabs/xrdp/pull/514
On Tue, Mar 31, 2020 at 11:24:58AM +0400, Gleb Popov wrote:
> 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.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
meta <meta at FreeBSD.org>
More information about the freebsd-ports
mailing list