Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: linux-mod.eclass
Date: Sun, 24 Apr 2011 18:55:30
Message-Id: 20110424185520.90F7820054@flycatcher.gentoo.org
1 ulm 11/04/24 18:55:20
2
3 Modified: linux-mod.eclass
4 Log:
5 Replace dependency on virtual/modutils, bug 358891. Whitespace.
6
7 Revision Changes Path
8 1.100 eclass/linux-mod.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-mod.eclass?rev=1.100&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-mod.eclass?rev=1.100&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-mod.eclass?r1=1.99&r2=1.100
13
14 Index: linux-mod.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v
17 retrieving revision 1.99
18 retrieving revision 1.100
19 diff -u -r1.99 -r1.100
20 --- linux-mod.eclass 31 Mar 2010 19:33:16 -0000 1.99
21 +++ linux-mod.eclass 24 Apr 2011 18:55:20 -0000 1.100
22 @@ -1,6 +1,6 @@
23 -# Copyright 1999-2004 Gentoo Foundation
24 +# Copyright 1999-2011 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.99 2010/03/31 19:33:16 robbat2 Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.100 2011/04/24 18:55:20 ulm Exp $
28
29 # Author(s): John Mylchreest <johnm@g.o>,
30 # Stefan Schweizer <genstef@g.o>
31 @@ -57,7 +57,7 @@
32 #
33 # To get an idea of how these variables are used, here's a few lines
34 # of code from around line 540 in this eclass:
35 -#
36 +#
37 # einfo "Installing ${modulename} module"
38 # cd ${objdir} || die "${objdir} does not exist"
39 # insinto /lib/modules/${KV_FULL}/${libdir}
40 @@ -136,7 +136,7 @@
41 IUSE="kernel_linux"
42 SLOT="0"
43 DESCRIPTION="Based on the $ECLASS eclass"
44 -RDEPEND="kernel_linux? ( virtual/modutils )"
45 +RDEPEND="kernel_linux? ( sys-apps/module-init-tools )"
46 DEPEND="${RDEPEND}
47 sys-apps/sed
48 kernel_linux? ( virtual/linux-sources )"
49 @@ -602,7 +602,7 @@
50 linux-mod_pkg_setup_binary() {
51 debug-print-function ${FUNCNAME} $*
52 local new_CONFIG_CHECK
53 - # ~ needs always to be quoted, else bash expands it.
54 + # ~ needs always to be quoted, else bash expands it.
55 for config in $CONFIG_CHECK ; do
56 optional='~'
57 [[ ${config:0:1} == "~" ]] && optional=''