diff options
author | David Seifert <soap@gentoo.org> | 2017-09-24 11:07:35 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-09-24 12:34:29 +0200 |
commit | 08c20f933032c9fd7028ab28dc59c40d47f106c0 (patch) | |
tree | 03c1bff1bd514862436f88b9b512beb5b894a942 /eclass/cmake-utils.eclass | |
parent | app-text/coolreader: removed qt4 USE flag (diff) | |
download | gentoo-08c20f933032c9fd7028ab28dc59c40d47f106c0.tar.gz gentoo-08c20f933032c9fd7028ab28dc59c40d47f106c0.tar.bz2 gentoo-08c20f933032c9fd7028ab28dc59c40d47f106c0.zip |
cmake-utils.eclass: Add QA check that cmake-utils_src_prepare was run
Closes: https://github.com/gentoo/gentoo/pull/4757
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index dbb12f25f3d9..c6a52b8d9ae7 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -441,6 +441,8 @@ cmake-utils_src_prepare() { fi popd > /dev/null || die + + _CMAKE_UTILS_SRC_PREPARE_HAS_RUN=1 } # @VARIABLE: mycmakeargs @@ -465,6 +467,10 @@ cmake-utils_src_prepare() { cmake-utils_src_configure() { debug-print-function ${FUNCNAME} "$@" + if [[ ! ${_CMAKE_UTILS_SRC_PREPARE_HAS_RUN} ]]; then + eqawarn "cmake-utils_src_prepare has not been run, please open a bug on https://bugs.gentoo.org/" + fi + [[ ${EAPI} == 5 ]] && _cmake_cleanup_cmake _cmake_check_build_dir |