calling config.regenerate(). (trunk r8957)
svn path=/main/branches/2.1.2/; revision=8958
# * Forced flags, such as those from {,package}use.force
# * build and bootstrap flags used by bootstrap.sh
- if self.mycpv:
+ if True:
+ # Do this even when there's no package since setcpv() can
+ # optimize away regenerate() calls.
iuse_implicit = set(iuse)
# Flags derived from ARCH.
iuse_grep = "^(%s)$" % "|".join(sorted(iuse_grep))
else:
iuse_grep = ""
- self.configdict["pkg"]["PORTAGE_IUSE"] = iuse_grep
+ self["PORTAGE_IUSE"] = iuse_grep
usesplit = [x for x in usesplit if \
x in iuse_implicit and \