Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2016 20:45:13 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Don Lewis <truckman@FreeBSD.org>, freebsd-ports@FreeBSD.org
Subject:   Re: what to do when base openssl isn't suitable
Message-ID:  <5777A241.4040108@ShaneWare.Biz>
In-Reply-To: <201607011859.u61IxIBt093652@gw.catspoiler.org>
References:  <201607011859.u61IxIBt093652@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/07/2016 04:29, Don Lewis wrote:
> I've got a port that does not work with base openssl because it looks
> for libssl.pc.  Other than that, I don't think it is picky about what
> flavor of ports ssl is installed.

If it is looking for libssl.pc then it is using pkg-config to get the
CFLAGS/CXXFLAGS/LDFLAGS to use for openssl.

Search the Makefiles for  pkg-config openssl --cflags --libs or the
variable substituted equivalent, then patch it to suit. If you want to
use the system openssl then manually adding -lssl -lcrypto where it adds
the result from pkg-config should work.


-- 
FreeBSD - the place to B...Software Developing

Shane Ambler




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