summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-10-01 12:05:58 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-10-01 12:05:58 +0200
commit5bedb9028ac2c878d959e58cc1fb16a0bbb3a31b (patch)
tree676325343b9abb07ec28f1d84ca3e7d14484911e /dev-util
parent75a6639822a38fecf0b1b409a6fb50587a4c0a39 (diff)
downloadgentoo-personal-overlay-5bedb9028ac2c878d959e58cc1fb16a0bbb3a31b.tar.gz
gentoo-personal-overlay-5bedb9028ac2c878d959e58cc1fb16a0bbb3a31b.tar.bz2
gentoo-personal-overlay-5bedb9028ac2c878d959e58cc1fb16a0bbb3a31b.zip
dev-util/cquery: add llvm dependency
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cquery/cquery-20180718.ebuild12
1 files changed, 10 insertions, 2 deletions
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
+}