Subject: Re: Using the native OpenSSL on Solaris 9/10
To: None <tech-pkg@netbsd.org>
From: Klaus Heinz <k.heinz.jun.sieben@kh-22.de>
List: tech-pkg
Date: 06/17/2007 11:01:48
Johnny C. Lam wrote:


> PREFER_NATIVE+=openssl and PREFER.openssl=native mean the same thing,
> expect that the latter is undocumented.

So PREFER.pkg should be changed to _PREFER.pkg, shouldn't it?

> USE_BUILTIN.openssl=yes is "stronger" than setting PREFER_NATIVE because
> "preferring" still means that the native package must satisfy whatever
> checks are in openssl/builtin.mk, whereas "using" means that we use the
> native package regardless of whether it satisfies those checks.
> 
> In general, you should set PREFER_NATIVE.

Thanks for the explanation. I will incorporate it into the guide.

ciao
     Klaus