diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-22 21:39:35 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-22 21:40:43 +0100 |
commit | 07004f61f364558922f2d98e3fe34357c4b03ce9 (patch) | |
tree | b4a178d512541cffb11c56c38b28b6a73283f154 /dev-util/kdevelop | |
parent | dev-util/clazy: Pin to <sys-devel/clang-10 (diff) | |
download | gentoo-07004f61f364558922f2d98e3fe34357c4b03ce9.tar.gz gentoo-07004f61f364558922f2d98e3fe34357c4b03ce9.tar.bz2 gentoo-07004f61f364558922f2d98e3fe34357c4b03ce9.zip |
dev-util/kdevelop: Fix build with >=sys-devel/llvm-10
Reported-by: email200202@yahoo.com
Closes: https://bugs.gentoo.org/711594
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r-- | dev-util/kdevelop/kdevelop-5.5.0.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/kdevelop/kdevelop-5.5.0.ebuild b/dev-util/kdevelop/kdevelop-5.5.0.ebuild index 11aa55dc6a6f..0355a681dc46 100644 --- a/dev-util/kdevelop/kdevelop-5.5.0.ebuild +++ b/dev-util/kdevelop/kdevelop-5.5.0.ebuild @@ -101,7 +101,11 @@ RESTRICT+=" test" # see bug 366471 src_configure() { + local clang_version=$(best_version sys-devel/clang) + local llvm_root="/usr/lib/llvm/$(ver_cut 1 ${clang_version##sys-devel/clang-})" + local mycmakeargs=( + -DLLVM_ROOT=${llvm_root} $(cmake_use_find_package gdbui KF5SysGuard) -DBUILD_executeplasmoid=$(usex plasma) $(cmake_use_find_package plasma KF5Plasma) |