Is it possibly to detect which OpenSSL is used for a port?
list_freebsd at bluerosetech.com
list_freebsd at bluerosetech.com
Fri Mar 20 19:58:21 UTC 2015
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.
More information about the freebsd-ports
mailing list