[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] [PATCH 1/1] linux-mod.eclass: Remove EAPI deprecated function call
From:       Mike Pagano <mpagano () gentoo ! org>
Date:       2023-01-27 17:54:55
Message-ID: b10c7aa6-30c6-22b0-82f7-8c8d1d696b16 () gentoo ! org
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]

[Attachment #4 (multipart/mixed)]

[Attachment #6 (text/plain)]

As warned, remove EAPI deprecated use of econf being called in
linux-mod_src_compile

Bug: https://bugs.gentoo.org/340597
See: https://marc.info/?l=gentoo-dev&m=167069431328509

Signed-off-by: Mike Pagano <mpagano@gentoo.org>
---
  eclass/linux-mod.eclass | 4 ----
  1 file changed, 4 deletions(-)

diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index 6cf9969b1..482775edc 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -624,10 +624,6 @@ linux-mod_src_compile() {
  			cd "${srcdir}" || die
  			ln -s "${S}"/Module.symvers Module.symvers # no die for bug #888679
  			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}
-			fi
  
  			# This looks messy, but it is needed to handle multiple variables
  			# being passed in the BUILD_* stuff where the variables also have
-- 
2.39.1

Mike Pagano
Gentoo Developer - Kernel Project
E-Mail     : mpagano@gentoo.org
GnuPG FP   : 52CC A0B0 F631 0B17 0142 F83F 92A6 DBEC 81F2 B137
Public Key : http://pgp.mit.edu/pks/lookup?search=0x92A6DBEC81F2B137&op=index


["OpenPGP_0x92A6DBEC81F2B137.asc" (application/pgp-keys)]
["OpenPGP_signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic