From 5bedb9028ac2c878d959e58cc1fb16a0bbb3a31b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 1 Oct 2018 12:05:58 +0200 Subject: dev-util/cquery: add llvm dependency --- dev-util/cquery/cquery-20180718.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'dev-util/cquery/cquery-20180718.ebuild') diff --git a/dev-util/cquery/cquery-20180718.ebuild b/dev-util/cquery/cquery-20180718.ebuild index bbf5232..8dd3596 100644 --- a/dev-util/cquery/cquery-20180718.ebuild +++ b/dev-util/cquery/cquery-20180718.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils +inherit cmake-utils llvm DESCRIPTION="C/C++ language server" HOMEPAGE="https://github.com/cquery-project/cquery" @@ -14,6 +14,14 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="" +DEPEND="sys-devel/llvm:=" RDEPEND="${DEPEND}" BDEPEND=">=dev-util/cmake-3.1" + +src_configure() { + local mycmakeargs=( + -DSYSTEM_CLANG=ON + -DCMAKE_PREFIX_PATH="$(get_llvm_prefix)" + ) + cmake-utils_src_configure +} -- cgit v1.2.3