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

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 1, 2020 at 8:43 AM Koichiro Iwao <meta@freebsd.org> wrote:

> 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
>
>
Yes, I know how to deal with autotools. The problem is meson.

Maybe settings CFLAGS/LDFLAGS would help, indeed.

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?CALH631k1wHiKynf4n_dLzhLT_=5r6cVnCvs_NPvMrQ%2B_HyfZUg>