summaryrefslogtreecommitdiff
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
commitc4decbaa3950b6fa71eb4097103192b067f6f80e (patch)
tree665354233e65a3c296d5fc10f82697686ad788af
parentamd64/x86 stable, bug #339049 (diff)
downloadhistorical-c4decbaa3950b6fa71eb4097103192b067f6f80e.tar.gz
historical-c4decbaa3950b6fa71eb4097103192b067f6f80e.tar.bz2
historical-c4decbaa3950b6fa71eb4097103192b067f6f80e.zip
allow restore_config in src_configure
-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