aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-23 21:33:54 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-23 21:33:54 +0100
commit9eb9b77be17fee6069952a89308b14cc9f180d25 (patch)
tree6dfc30d86844204b79ba50154fa1df2ab26849c9
parent3b3b88c94d6d342258c6e1502515ab011120e09e (diff)
downloadpaludis-9eb9b77be17fee6069952a89308b14cc9f180d25.tar.gz
paludis-9eb9b77be17fee6069952a89308b14cc9f180d25.tar.xz
Make presumed deps work
-rw-r--r--paludis/elike_use_requirement.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/elike_use_requirement.cc b/paludis/elike_use_requirement.cc
index 829f270..a630e5f 100644
--- a/paludis/elike_use_requirement.cc
+++ b/paludis/elike_use_requirement.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008, 2009, 2010, 2011 Ciaran McCreesh
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -928,7 +928,7 @@ namespace
continue;
for (auto v((*c)->begin()), v_end((*c)->end()) ; v != v_end ; ++v)
- if ((*v)->presumed())
+ if ((*v)->presumed() && ! (*v)->enabled())
{
if (_mentioned->end() != _mentioned->find(stringify((*v)->name_with_prefix())))
continue;