diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-07 16:28:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-07 16:28:34 +0100 |
commit | 2cd907d16458ba3a99ec82155d7268e2d991a078 (patch) | |
tree | a49a4ffe10e16f8b619647527716b993c53ea496 /eclass/qt6-build.eclass | |
parent | 24beafaaa74162a20d550f2ee7c4997724e34d95 (diff) |
gentoo auto-resync : 07:09:2023 - 16:28:34
Diffstat (limited to 'eclass/qt6-build.eclass')
-rw-r--r-- | eclass/qt6-build.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
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 |