On 4/16/16 3:05 PM, Michał Górny wrote:
> On Sat, 16 Apr 2016 19:01:02 +0000 (UTC)
> "Anthony G. Basile" <bluen...@gentoo.org> wrote:
> 
>> commit:     ad0c2ab2bdbd34f4550e49c56cfd5974d6a2c07a
>> Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
>> AuthorDate: Sat Apr 16 19:08:23 2016 +0000
>> Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
>> CommitDate: Sat Apr 16 19:08:23 2016 +0000
>> URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0c2ab2
>>
>> ssl-cert.eclass: add libressl support
>>
>>  eclass/ssl-cert.eclass | 12 ++++++++----
>>  1 file changed, 8 insertions(+), 4 deletions(-)
>>
>> diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass
>> index 002de76..2538f4d 100644
>> --- a/eclass/ssl-cert.eclass
>> +++ b/eclass/ssl-cert.eclass
>> @@ -30,10 +30,10 @@
>>  
>>  if [[ "${SSL_DEPS_SKIP}" == "0" ]]; then
>>      if [[ "${SSL_CERT_MANDATORY}" == "0" ]]; then
>> -            DEPEND="${SSL_CERT_USE}? ( dev-libs/openssl:0= )"
>> +            DEPEND="${SSL_CERT_USE}? ( || ( dev-libs/openssl:0= 
>> dev-libs/libressl:0= ) )"
>>              IUSE="${SSL_CERT_USE}"
>>      else
>> -            DEPEND="dev-libs/openssl:0="
>> +            DEPEND="|| ( dev-libs/openssl:0= dev-libs/libressl:0= )"
>>      fi
>>  fi
>>  
> 
> Congratulations! You've just committed an invalid dependency that is
> going to cause true mayhem on every package using the eclass.
> 
> But why would anyone send patches for review, or even start wondering
> that we might be using USE=libressl all around for some reason...
> 

It was discussed on the bug report and I asked robbat2.  Revert then.

-- 
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail    : bluen...@gentoo.org
GnuPG FP  : 1FED FAD9 D82C 52A5 3BAB  DC79 9384 FA6E F52D 4BBA
GnuPG ID  : F52D4BBA

Reply via email to