summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-18 12:05:04 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-18 12:05:04 +0000
commit2668d2c0a2658a3fe084f971c8bb54975c056037 (patch)
treecbd5081c03b6ae10ec093de8c04fb9ccfed2547f
parentc5016fbdb4ed87ea971e363b5d0906310fbe965d (diff)
downloadportage-2668d2c0a2658a3fe084f971c8bb54975c056037.tar.gz
portage-2668d2c0a2658a3fe084f971c8bb54975c056037.tar.bz2
portage-2668d2c0a2658a3fe084f971c8bb54975c056037.zip
Make special build and bootstrap flags into implicit members
of IUSE so that stage builds will work again. svn path=/main/trunk/; revision=8955
-rw-r--r--pym/portage/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index f0f80c3f0..7e1998b3a 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2393,6 +2393,7 @@ class config(object):
# * Flags derived from USE_EXPAND_HIDDEN variables
# * Masked flags, such as those from {,package}use.mask
# * Forced flags, such as those from {,package}use.force
+ # * build and bootstrap flags used by bootstrap.sh
if self.mycpv:
iuse_implicit = set(iuse)
@@ -2415,6 +2416,10 @@ class config(object):
iuse_implicit.update(self.usemask)
iuse_implicit.update(self.useforce)
+ # build and bootstrap flags used by bootstrap.sh
+ iuse_implicit.add("build")
+ iuse_implicit.add("bootstrap")
+
iuse_grep = iuse_implicit.copy()
if use_expand_hidden_raw:
for x in use_expand_hidden_raw: