aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/pretend_fetch_visitor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/pretend_fetch_visitor.cc')
-rw-r--r--paludis/repositories/e/pretend_fetch_visitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/pretend_fetch_visitor.cc b/paludis/repositories/e/pretend_fetch_visitor.cc
index 955340a93..90855f1ba 100644
--- a/paludis/repositories/e/pretend_fetch_visitor.cc
+++ b/paludis/repositories/e/pretend_fetch_visitor.cc
@@ -99,7 +99,7 @@ PretendFetchVisitor::~PretendFetchVisitor()
void
PretendFetchVisitor::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));