summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-22 20:15:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-22 21:40:43 +0100
commit2e14430d234cf9e4da6856cafaec46fec1dc3fb0 (patch)
tree47780e82ccb6945578ff5b3a338185ce1aed7bbd /dev-util/clazy
parentdev-db/unixODBC: remove unused patch(es) (diff)
downloadgentoo-2e14430d234cf9e4da6856cafaec46fec1dc3fb0.tar.gz
gentoo-2e14430d234cf9e4da6856cafaec46fec1dc3fb0.tar.bz2
gentoo-2e14430d234cf9e4da6856cafaec46fec1dc3fb0.zip
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@gentoo.org>
Diffstat (limited to 'dev-util/clazy')
-rw-r--r--dev-util/clazy/clazy-1.5-r1.ebuild6
1 files 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 d3f38a652bb6..47f5433d9f01 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
}