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/Manifest.gz | Bin 38489 -> 38494 bytes eclass/qt6-build.eclass | 6 ++++++ 2 files changed, 6 insertions(+) (limited to 'eclass') diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz index 9de8d06de915..fa7d8bcf65e7 100644 Binary files a/eclass/Manifest.gz and b/eclass/Manifest.gz differ 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