mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
cmake.eclass: add global-scope ewarn for deprecated EAPI 7
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
443a1f7198
commit
95e523a1d2
@ -19,7 +19,11 @@
|
||||
# out-of-source builds (default) and in-source builds.
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
7)
|
||||
ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!"
|
||||
ewarn "${CATEGORY}/${PF}: Support will be removed on 2025-11-14. Please port to newer EAPI."
|
||||
;;
|
||||
8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
@ -632,7 +636,6 @@ cmake_src_prepare() {
|
||||
chmod -R a-w "${S}"
|
||||
fi
|
||||
_CMAKE_PREPARE_HAS_RUN=1
|
||||
eqawarn "QA Notice: cmake.eclass will throw unsupported EAPI=7 error after 2025-11-01."
|
||||
else
|
||||
default_src_prepare
|
||||
cmake_prepare
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user