aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/fetch_visitor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/fetch_visitor.cc')
-rw-r--r--paludis/repositories/e/fetch_visitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/fetch_visitor.cc b/paludis/repositories/e/fetch_visitor.cc
index e63a510..bdf7dc9 100644
--- a/paludis/repositories/e/fetch_visitor.cc
+++ b/paludis/repositories/e/fetch_visitor.cc
@@ -117,7 +117,7 @@ FetchVisitor::~FetchVisitor()
void
FetchVisitor::visit(const FetchableURISpecTree::NodeType<ConditionalDepSpec>::Type & node)
{
- if ((_imp->fetch_unneeded) || (node.spec()->condition_met()))
+ if ((_imp->fetch_unneeded) || (node.spec()->condition_met(_imp->env, _imp->id)))
{
_imp->labels.push_front(* _imp->labels.begin());
std::for_each(indirect_iterator(node.begin()), indirect_iterator(node.end()), accept_visitor(*this));