summaryrefslogtreecommitdiff
path: root/net-libs/grpc/grpc-1.18.0.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-02 21:45:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-02 21:45:28 +0100
commit2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch)
treec18e1c09e605e94e2a1e93345ad25746cc9e14b9 /net-libs/grpc/grpc-1.18.0.ebuild
parent6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff)
gentoo resync : 02.06.2019
Diffstat (limited to 'net-libs/grpc/grpc-1.18.0.ebuild')
-rw-r--r--net-libs/grpc/grpc-1.18.0.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
index bbdf4092a7c5..2774a877762b 100644
--- a/net-libs/grpc/grpc-1.18.0.ebuild
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -14,14 +14,14 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
- dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
"
@@ -68,7 +68,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)" \
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
}
src_install() {