From 07004f61f364558922f2d98e3fe34357c4b03ce9 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 22 Mar 2020 21:39:35 +0100 Subject: [PATCH] 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 --- dev-util/kdevelop/kdevelop-5.5.0.ebuild | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.26.2