summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-05 19:51:05 +0000
committerMike Frysinger <vapier@gentoo.org>2010-10-05 19:51:05 +0000
commita5b7f22f9a3c5e8b1870b011ae528468d67e7deb (patch)
treeba9fc31e63b1f2b61aa82fd23b53feed2f08a066 /eclass
parentamd64/x86 stable, bug #339049 (diff)
downloadgentoo-2-a5b7f22f9a3c5e8b1870b011ae528468d67e7deb.tar.gz
gentoo-2-a5b7f22f9a3c5e8b1870b011ae528468d67e7deb.tar.bz2
gentoo-2-a5b7f22f9a3c5e8b1870b011ae528468d67e7deb.zip
allow restore_config in src_configure
Diffstat (limited to 'eclass')
-rw-r--r--eclass/savedconfig.eclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass
index 0396178bffe0..0271104743ed 100644
--- a/eclass/savedconfig.eclass
+++ b/eclass/savedconfig.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.13 2010/03/08 04:31:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.14 2010/10/05 19:51:05 vapier Exp $
# @ECLASS: savedconfig.eclass
# @MAINTAINER:
@@ -80,10 +80,8 @@ restore_config() {
use savedconfig || return
case ${EBUILD_PHASE} in
- unpack|compile|prepare)
- ;;
- *) die "Bad package! restore_config only for use in src_{unpack,compile,prepare} functions!"
- ;;
+ unpack|compile|configure|prepare) ;;
+ *) die "Bad package! restore_config only for use in src_{unpack,compile,configure,prepare} functions!" ;;
esac
local found check configfile
local base=${PORTAGE_CONFIGROOT}/etc/portage/savedconfig