Gentoo Archives: gentoo-commits

From: Jason Donenfeld <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 28 Jun 2018 16:59:23
Message-Id: 1530205150.be6b9650261d4c4599dc1c878f0cf8860a0a7bc0.zx2c4@gentoo
1 commit: be6b9650261d4c4599dc1c878f0cf8860a0a7bc0
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 28 16:57:49 2018 +0000
4 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 28 16:59:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be6b9650
7
8 linux-mod: depend on libelf
9
10 Recent linux kernels rely on libelf at build time, which includes at the
11 time of building out of tree modules. So if a module is relying on the
12 existence of linux sources, it also needs to rely on libelf being
13 installed.
14
15 Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>
16
17 eclass/linux-mod.eclass | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
21 index bf580cf4cfa..e5b5ec782f0 100644
22 --- a/eclass/linux-mod.eclass
23 +++ b/eclass/linux-mod.eclass
24 @@ -150,7 +150,7 @@ RDEPEND="${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} kernel_linux? ( vir
25 DEPEND="${RDEPEND}
26 ${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (}
27 sys-apps/sed
28 - kernel_linux? ( virtual/linux-sources )
29 + kernel_linux? ( virtual/linux-sources virtual/libelf )
30 ${MODULES_OPTIONAL_USE:+)}"
31
32 # eclass utilities