commit:     f59498ed6e49ef1c6e87392e71680877f8a705ca
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  7 15:45:37 2022 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Wed Dec  7 15:45:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f59498ed

linux-mod.eclass: Warn about removal of econf called in compile phase func

Notify packaga maintainers that their package relies on
the EAPI deprecated use of econf being called in
linux-mod_src_compile, which will go away in 30 days (20230107)

Bug: https://bugs.gentoo.org/340597

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 eclass/linux-mod.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index 34151c6f27cd..ff2294f1e4ef 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -652,6 +652,7 @@ linux-mod_src_compile() {
                        einfo "Preparing ${modulename} module"
                        if [[ -n ${ECONF_PARAMS} ]]
                        then
+                               eqawarn "This package relies on the deprecated 
functionality of econf being called in linux-mod_src_compile (ECONF_PARAMS), 
which will go away in 30 days (20230107) (https://bugs.gentoo.org/340597)"
                                econf ${ECONF_PARAMS} || \
                                die "Unable to run econf ${ECONF_PARAMS}"
                        fi

Reply via email to