From: Jason A. Donenfeld Date: Thu, 28 Jun 2018 16:57:49 +0000 (+0200) Subject: linux-mod: depend on libelf X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=be6b9650261d4c4599dc1c878f0cf8860a0a7bc0;p=gentoo.git linux-mod: depend on libelf Recent linux kernels rely on libelf at build time, which includes at the time of building out of tree modules. So if a module is relying on the existence of linux sources, it also needs to rely on libelf being installed. Signed-off-by: Jason A. Donenfeld --- diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index bf580cf4cfa9..e5b5ec782f0c 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -150,7 +150,7 @@ RDEPEND="${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} kernel_linux? ( vir DEPEND="${RDEPEND} ${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} sys-apps/sed - kernel_linux? ( virtual/linux-sources ) + kernel_linux? ( virtual/linux-sources virtual/libelf ) ${MODULES_OPTIONAL_USE:+)}" # eclass utilities