diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2016-03-02 14:00:48 +0100 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2016-03-02 14:01:36 +0100 |
commit | bac4d6e0819038d116bd8c69d4f6d8092e687363 (patch) | |
tree | f59ff98830ac2d641bdf0567479f6c439dcced7a /eclass/ssl-cert.eclass | |
parent | dev-util/shellcheck: version bump (diff) | |
download | gentoo-bac4d6e0819038d116bd8c69d4f6d8092e687363.tar.gz gentoo-bac4d6e0819038d116bd8c69d4f6d8092e687363.tar.bz2 gentoo-bac4d6e0819038d116bd8c69d4f6d8092e687363.zip |
Add libressl support to many packages
Package maintainers will likely want to cleanup various things for this
experimental USE flag.
Diffstat (limited to 'eclass/ssl-cert.eclass')
-rw-r--r-- | eclass/ssl-cert.eclass | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass index 33bee2f8ded8..053e10133633 100644 --- a/eclass/ssl-cert.eclass +++ b/eclass/ssl-cert.eclass @@ -23,11 +23,18 @@ # Use flag to append dependency to. : ${SSL_CERT_USE:=ssl} -if [[ "${SSL_CERT_MANDATORY}" == "0" ]]; then - DEPEND="${SSL_CERT_USE}? ( dev-libs/openssl )" - IUSE="${SSL_CERT_USE}" -else - DEPEND="dev-libs/openssl" +# @ECLASS-VARIABLE: SSL_DEPS_SKIP +# @DESCRIPTION: +# Set to non zero to skip adding to DEPEND and IUSE. +: ${SSL_DEPS_SKIP:=0} + +if [[ "${SSL_DEPS_SKIP}" == "0" ]]; then + if [[ "${SSL_CERT_MANDATORY}" == "0" ]]; then + DEPEND="${SSL_CERT_USE}? ( dev-libs/openssl )" + IUSE="${SSL_CERT_USE}" + else + DEPEND="dev-libs/openssl" + fi fi # @FUNCTION: gen_cnf |