summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-18 12:05:56 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-18 12:05:56 +0000
commit9e067ef78a3c1ed08c5ebe61dc08e49689f983d1 (patch)
treef943924163387138a16edfa17edd6e33071087f9
parent1459cc2242354aaddeb51e33d1b83b31c502f60a (diff)
downloadportage-9e067ef78a3c1ed08c5ebe61dc08e49689f983d1.tar.gz
portage-9e067ef78a3c1ed08c5ebe61dc08e49689f983d1.tar.bz2
portage-9e067ef78a3c1ed08c5ebe61dc08e49689f983d1.zip
Make special build and bootstrap flags into implicit members
of IUSE so that stage builds will work again. (trunk r8955) svn path=/main/branches/2.1.2/; revision=8956
-rw-r--r--pym/portage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 36ca0db5c..0f1fda2de 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2374,6 +2374,7 @@ class config:
# * 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)
@@ -2396,6 +2397,10 @@ class config:
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: