aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-13 11:24:24 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-13 11:24:24 +0000
commit4deaae9847fc456f85737eaa9aa3e189dd98784c (patch)
treeee8b84393b92309abdeb4050330e695981c4e372
parentc1ead921589bd9b3add523990f02511f86143a6b (diff)
downloadpaludis-4deaae9847fc456f85737eaa9aa3e189dd98784c.tar.gz
paludis-4deaae9847fc456f85737eaa9aa3e189dd98784c.tar.xz
Support repository-set use flags in PortageEnvironment
-rw-r--r--paludis/environments/portage/portage_environment.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/environments/portage/portage_environment.cc b/paludis/environments/portage/portage_environment.cc
index be0441a..db8b09e 100644
--- a/paludis/environments/portage/portage_environment.cc
+++ b/paludis/environments/portage/portage_environment.cc
@@ -442,6 +442,10 @@ PortageEnvironment::query_use(const UseFlagName & f, const PackageDatabaseEntry
UseFlagState state(use_unspecified);
+ /* check use: repo */
+ if (repo->use_interface)
+ state = repo->use_interface->query_use(f, &e);
+
/* check use: general user config */
std::set<std::string>::const_iterator u(_imp->use_with_expands.find(stringify(f)));
if (u != _imp->use_with_expands.end())