ssl-cert.eclass: remove = slot operator from DEPEND
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 16 Apr 2016 22:18:25 +0000 (18:18 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 16 Apr 2016 22:26:08 +0000 (18:26 -0400)
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

index 002de767fa0924395bdccd66a09cf29b4befceb8..0db29863bc5b33aa5b49a3d8b32634a189fd9b8a 100644 (file)
 
 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