projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70f3d4b
)
cmake-utils.eclass: Add QA check that cmake-utils_src_prepare was run
author
David Seifert
<soap@gentoo.org>
Sun, 24 Sep 2017 09:07:35 +0000
(11:07 +0200)
committer
David Seifert
<soap@gentoo.org>
Sun, 24 Sep 2017 10:34:29 +0000
(12:34 +0200)
Closes: https://github.com/gentoo/gentoo/pull/4757
eclass/cmake-utils.eclass
patch
|
blob
|
history
diff --git
a/eclass/cmake-utils.eclass
b/eclass/cmake-utils.eclass
index dbb12f25f3d98adbe83d71a8a96d041be43ab94a..c6a52b8d9ae7b301c887bfdb75ed9d91372f6115 100644
(file)
--- 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