Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/openrc: openrc-9999.ebuild
Date: Tue, 25 Mar 2008 12:26:55
Message-Id: E1Je8Eu-0001ru-Ew@stork.gentoo.org
1 vapier 08/03/25 12:26:52
2
3 Modified: openrc-9999.ebuild
4 Log:
5 use module_<mod>_args_<ver> now that openrc supports it
6 (Portage version: 2.2_pre5)
7
8 Revision Changes Path
9 1.8 sys-apps/openrc/openrc-9999.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild?rev=1.8&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild?rev=1.8&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild?r1=1.7&r2=1.8
14
15 Index: openrc-9999.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v
18 retrieving revision 1.7
19 retrieving revision 1.8
20 diff -u -r1.7 -r1.8
21 --- openrc-9999.ebuild 25 Mar 2008 00:13:15 -0000 1.7
22 +++ openrc-9999.ebuild 25 Mar 2008 12:26:51 -0000 1.8
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.7 2008/03/25 00:13:15 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.8 2008/03/25 12:26:51 vapier Exp $
28
29 inherit eutils flag-o-matic multilib toolchain-funcs
30
31 @@ -140,7 +140,7 @@
32 if ($0 ~ /^[^#]/) {
33 print "modules_" v "=\"${modules_" v "} " $1 "\""
34 gsub(/[^[:alnum:]]/, "_", $1)
35 - printf "module_" $1 "_args=\""
36 + printf "module_" $1 "_args_" v "=\""
37 for (i = 2; i <= NF; ++i) {
38 if (i > 2)
39 printf " "
40 @@ -152,8 +152,8 @@
41 }
42 END { print "\n### END: Auto-converted from " f "\n" }
43 ' "${f}" >> "${D}"/etc/conf.d/modules
44 - rm -f "${f}"
45 done
46 + rm -f "${f}"
47 rmdir "${ROOT}"/etc/modules.autoload.d 2>/dev/null
48 fi
49 fi
50
51
52
53 --
54 gentoo-commits@l.g.o mailing list