Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: savedconfig.eclass
Date: Tue, 05 Oct 2010 20:04:33
Message-Id: 20101005195106.0916920051@flycatcher.gentoo.org
1 vapier 10/10/05 19:51:05
2
3 Modified: savedconfig.eclass
4 Log:
5 allow restore_config in src_configure
6
7 Revision Changes Path
8 1.14 eclass/savedconfig.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/savedconfig.eclass?rev=1.14&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/savedconfig.eclass?rev=1.14&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/savedconfig.eclass?r1=1.13&r2=1.14
13
14 Index: savedconfig.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v
17 retrieving revision 1.13
18 retrieving revision 1.14
19 diff -u -r1.13 -r1.14
20 --- savedconfig.eclass 8 Mar 2010 04:31:59 -0000 1.13
21 +++ savedconfig.eclass 5 Oct 2010 19:51:05 -0000 1.14
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.13 2010/03/08 04:31:59 jer Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.14 2010/10/05 19:51:05 vapier Exp $
27
28 # @ECLASS: savedconfig.eclass
29 # @MAINTAINER:
30 @@ -80,10 +80,8 @@
31 use savedconfig || return
32
33 case ${EBUILD_PHASE} in
34 - unpack|compile|prepare)
35 - ;;
36 - *) die "Bad package! restore_config only for use in src_{unpack,compile,prepare} functions!"
37 - ;;
38 + unpack|compile|configure|prepare) ;;
39 + *) die "Bad package! restore_config only for use in src_{unpack,compile,configure,prepare} functions!" ;;
40 esac
41 local found check configfile
42 local base=${PORTAGE_CONFIGROOT}/etc/portage/savedconfig