1 |
commit: 23bc7197cc2377e86efaf8a9d7f67f4a6d703d90 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 2 21:06:16 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 2 21:06:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=23bc7197 |
7 |
|
8 |
cmake.eclass: CMAKE_MIN_VERSION porting instructions |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
eclass/cmake.eclass | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass |
16 |
index 35745def4b..65a7664226 100644 |
17 |
--- a/eclass/cmake.eclass |
18 |
+++ b/eclass/cmake.eclass |
19 |
@@ -103,7 +103,7 @@ inherit toolchain-funcs ninja-utils flag-o-matic multiprocessing xdg-utils |
20 |
|
21 |
EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install |
22 |
|
23 |
-[[ ${CMAKE_MIN_VERSION} ]] && die "CMAKE_MIN_VERSION has been removed and is a no-op" |
24 |
+[[ ${CMAKE_MIN_VERSION} ]] && die "CMAKE_MIN_VERSION is banned; if necessary, set BDEPEND=\">=dev-util/cmake-${CMAKE_MIN_VERSION}\" directly" |
25 |
[[ ${CMAKE_BUILD_DIR} ]] && die "The ebuild must be migrated to BUILD_DIR" |
26 |
[[ ${CMAKE_REMOVE_MODULES} ]] && die "CMAKE_REMOVE_MODULES is banned, set CMAKE_REMOVE_MODULES_LIST=\"\" instead" |
27 |
[[ ${CMAKE_UTILS_QA_SRC_DIR_READONLY} ]] && die "Use CMAKE_QA_SRC_DIR_READONLY instead" |