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 18925138350 for ; Sun, 22 Mar 2020 20:41:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 255E0E084A; Sun, 22 Mar 2020 20:41:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 BCCCDE093A for ; Sun, 22 Mar 2020 20:41:39 +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 96E3934F756 for ; Sun, 22 Mar 2020 20:41:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58244195 for ; Sun, 22 Mar 2020 20:41:35 +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: <1584909643.07004f61f364558922f2d98e3fe34357c4b03ce9.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kdevelop/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/kdevelop/kdevelop-5.5.0.ebuild X-VCS-Directories: dev-util/kdevelop/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 07004f61f364558922f2d98e3fe34357c4b03ce9 X-VCS-Branch: master Date: Sun, 22 Mar 2020 20:41:35 +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: cb597818-b93d-4785-9708-fe230a8f1660 X-Archives-Hash: 20c6ef1c58d015a394f3805ddc3949c0 commit: 07004f61f364558922f2d98e3fe34357c4b03ce9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 22 20:39:35 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 22 20:40:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07004f61 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-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 11aa55dc6a6..0355a681dc4 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)