commit:     2e14430d234cf9e4da6856cafaec46fec1dc3fb0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 22 19:15:40 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 22 20:40:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e14430d

dev-util/clazy: Pin to <sys-devel/clang-10

Bug: https://bugs.gentoo.org/711642
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-util/clazy/clazy-1.5-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/clazy/clazy-1.5-r1.ebuild 
b/dev-util/clazy/clazy-1.5-r1.ebuild
index d3f38a652bb..47f5433d9f0 100644
--- a/dev-util/clazy/clazy-1.5-r1.ebuild
+++ b/dev-util/clazy/clazy-1.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ KEYWORDS="~amd64"
 IUSE=""
 
 RDEPEND="
-       sys-devel/clang:=
+       <sys-devel/clang-10:=
        >=sys-devel/llvm-3.8:=
 "
 DEPEND="${RDEPEND}"
@@ -37,7 +37,7 @@ src_configure() {
        # clang pulls in the equivalent llvm version, but not vice versa.
        # so, we must find llvm based on the installed clang version.
        # bug #681568
-       local clang_version=$(best_version sys-devel/clang)
+       local clang_version=$(best_version "<sys-devel/clang-10")
        export LLVM_ROOT="/usr/lib/llvm/$(ver_cut 1 
${clang_version##sys-devel/clang-})"
        cmake_src_configure
 }

Reply via email to