aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 829f27088..a630e5f72 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;