Is it possibly to detect which OpenSSL is used for a port?
cyberbotx at cyberbotx.com
Fri Mar 20 21:49:22 UTC 2015
I've looked at bsd.openssl.mk and from what it says, those WITH_OPENSSL_*
knobs are use-set, not port-set. So that doesn't help me.
> 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
>> 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.
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
More information about the freebsd-ports