Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 12:58:09 -0700
From:      list_freebsd@bluerosetech.com
To:        Naram Qashat <cyberbotx@cyberbotx.com>, freebsd-ports@FreeBSD.org
Subject:   Re: Is it possibly to detect which OpenSSL is used for a port?
Message-ID:  <550C7BD1.30005@bluerosetech.com>
In-Reply-To: <1b89602a13f212214de4f70feaf3f11e.squirrel@www.cyberbotx.com>
References:  <1b89602a13f212214de4f70feaf3f11e.squirrel@www.cyberbotx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2015-03-20 11:02, Naram Qashat wrote:
> This isn't quite what I'm looking for. I want to be able to tell within a
> port's Makefile if the user wanted the base or ports OpenSSL to be used.
> I've been trying to port TDE to FreeBSD, and tdelibs uses pkg-config to
> check for OpenSSL. This would work if the only form of OpenSSL was in
> ports, but the base OpenSSL doesn't have a pkg-config file to use, so I
> need to know which is going to be used so I can determine when this
> pkg-config check can be removed.

`grep WITH_OPENSSL_ Makefile`

If the port expresses an opinion about which OpenSSL to use, it has to 
use WITH_OPENSSL_PORT or WITH_OPENSSL_BASE.



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