From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B31F4138350 for ; Sun, 22 Mar 2020 21:31:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03B1FE0917; Sun, 22 Mar 2020 21:31:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD6F0E0917 for ; Sun, 22 Mar 2020 21:30:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2CD3034DDF2 for ; Sun, 22 Mar 2020 21:30:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 11A0BAF for ; Sun, 22 Mar 2020 21:30:54 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1584910823.01621eb32a01b9b044cc458eec3400ff36b3df0a.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop/ X-VCS-Repository: proj/kde X-VCS-Files: dev-util/kdevelop/kdevelop-9999.ebuild X-VCS-Directories: dev-util/kdevelop/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 01621eb32a01b9b044cc458eec3400ff36b3df0a X-VCS-Branch: master Date: Sun, 22 Mar 2020 21:30:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c09f5798-06ea-44f7-b95e-93b70a2c5f9e X-Archives-Hash: 85799bf8403530e14ea3dc64f0d9bdde commit: 01621eb32a01b9b044cc458eec3400ff36b3df0a Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 22 20:39:35 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 22 21:00:23 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=01621eb3 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 gentoo.org> dev-util/kdevelop/kdevelop-9999.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-util/kdevelop/kdevelop-9999.ebuild b/dev-util/kdevelop/kdevelop-9999.ebuild index c9a2d82240..f021ce69a2 100644 --- a/dev-util/kdevelop/kdevelop-9999.ebuild +++ b/dev-util/kdevelop/kdevelop-9999.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)