From 9ce0c0590b2ec32c884d831f97ba92fa5772f7f6 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 6 Feb 2022 09:22:28 +0100 Subject: sys-devel/llvm: Add a version check to the live ebuild MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-devel/llvm/llvm-14.0.0.9999.ebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys-devel') diff --git a/sys-devel/llvm/llvm-14.0.0.9999.ebuild b/sys-devel/llvm/llvm-14.0.0.9999.ebuild index f89b54bbb6c4..de916051b792 100644 --- a/sys-devel/llvm/llvm-14.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-14.0.0.9999.ebuild @@ -437,6 +437,9 @@ multilib_src_configure() { use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" cmake_src_configure + grep -q -E "^CMAKE_PROJECT_VERSION_MAJOR(:.*)?=$(ver_cut 1)$" \ + CMakeCache.txt || + die "Incorrect version, did you update _LLVM_MASTER_MAJOR?" multilib_is_native_abi && check_distribution_components } -- cgit v1.2.3-65-gdbad