On Sat, Apr 16, 2016 at 3:31 PM, Anthony G. Basile <bluen...@gentoo.org> wrote: > On 4/16/16 3:27 PM, Anthony G. Basile wrote: >> 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: >> >> Okay for review. Sorry for the wrap. >> >> diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass >> index 002de76..fc2debd 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}? ( !libressl? ( >> dev-libs/openssl:0= ) libressl? ( dev-libs/librssl:0= ) )" >> IUSE="${SSL_CERT_USE}" >> else >> - DEPEND="dev-libs/openssl:0=" >> + DEPEND="!libressl? ( dev-libs/openssl:0= ) libressl? ( >> dev-libs/librssl:0= )" >> fi >> fi >> >> >> > > Actually the eclass also needs IUSE="${IUSE} libressl"
As discussed in IRC, the slot-operator is unneeded, and has been removed. And I don't really see the point in the libressl USE flag in this case; I think that was only needed so the slot-operator would resolve correctly. My suggestion would be this: DEPEND="${SSL_CERT_USE}? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) )"