commit:     3a308b5a0ea3154682dbc1e14f83bdd245ce75fe
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 23 16:20:48 2020 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Thu Apr 23 16:26:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a308b5a

net-libs/grpc: add USE=libressl

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>

 net-libs/grpc/grpc-1.28.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-libs/grpc/grpc-1.28.1.ebuild b/net-libs/grpc/grpc-1.28.1.ebuild
index 18c6fb37e09..ef8cbdbbb06 100644
--- a/net-libs/grpc/grpc-1.28.1.ebuild
+++ b/net-libs/grpc/grpc-1.28.1.ebuild
@@ -14,14 +14,15 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="examples doc"
+IUSE="doc examples libressl"
 
 DEPEND="
        ~dev-cpp/abseil-cpp-20200225.1:=
-       >=dev-libs/openssl-1.0.2:0=[-bindist]
        >=dev-libs/protobuf-3.11.2:=
        >=net-dns/c-ares-1.15.0:=
        sys-libs/zlib:=
+       !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist] )
+       libressl? ( dev-libs/libressl:0= )
 "
 
 RDEPEND="${DEPEND}"

Reply via email to