commit:     b6bb205ec4b7b4133be3bf7ac9e6f4882fd9b30b
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 22:18:25 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Apr 16 22:26:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6bb205e

ssl-cert.eclass: remove = slot operator from DEPEND

It is common practice to include := in DEPENDs even though slot
operators are only meaningful in RDEPENDs because one often sees
RDEPEND="${DEPEND} ...".  However, the scope of DEPEND does not
cross the boundary between eclass and inhering ebuild, so that
operator is useless here.

 eclass/ssl-cert.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass
index 002de76..0db2986 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 )"
                IUSE="${SSL_CERT_USE}"
        else
-               DEPEND="dev-libs/openssl:0="
+               DEPEND="dev-libs/openssl:0"
        fi
 fi
 

Reply via email to