Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2020 13:24:46 +0900
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        Gleb Popov <arrowd@freebsd.org>
Cc:        FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: How to use base OpenSSL with meson-based ports?
Message-ID:  <20200401042446.jscya2g4ykkbqfoe@icepick.vmeta.jp>
In-Reply-To: <CALH631kLBkFXqZufND5Hf6qr1Sq8848JLH-A1U=iXru%2BTErfNg@mail.gmail.com>
References:  <CALH631kLBkFXqZufND5Hf6qr1Sq8848JLH-A1U=iXru%2BTErfNg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

-- 
meta <meta@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200401042446.jscya2g4ykkbqfoe>