net-libs/grpc: add USE=libressl
authorStefan Strogin <steils@gentoo.org>
Thu, 23 Apr 2020 16:20:48 +0000 (19:20 +0300)
committerStefan Strogin <steils@gentoo.org>
Thu, 23 Apr 2020 16:26:18 +0000 (19:26 +0300)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stefan Strogin <steils@gentoo.org>
net-libs/grpc/grpc-1.28.1.ebuild

index 18c6fb37e09a4f3732922483902cd99b6d1ba815..ef8cbdbbb0692bcac88c430b33ad1b873be9d41e 100644 (file)
@@ -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}"