From 2cd907d16458ba3a99ec82155d7268e2d991a078 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 7 Sep 2023 16:28:34 +0100 Subject: gentoo auto-resync : 07:09:2023 - 16:28:34 --- eclass/qt6-build.eclass | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'eclass/qt6-build.eclass') diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index 11e9844346a4..0b4ea6a58ce6 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -98,6 +98,12 @@ qt6-build_src_unpack() { qt6-build_src_prepare() { cmake_src_prepare + if [[ -e CMakeLists.txt ]]; then + # build may be skipped entirely and install nothing without errors + # if checking for a major dependency/condition failed + sed -i '/message(NOTICE.*Skipping/s/NOTICE/FATAL_ERROR/' CMakeLists.txt || die + fi + if in_iuse test && use test && [[ -e tests/auto/CMakeLists.txt ]]; then # upstream seems to install before running tests, and cmake # subdir that is present in about half of the Qt6 components -- cgit v1.2.3