aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/required_use_verifier.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/required_use_verifier.cc')
-rw-r--r--paludis/repositories/e/required_use_verifier.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/required_use_verifier.cc b/paludis/repositories/e/required_use_verifier.cc
index cdac1ca7a..b965a06b0 100644
--- a/paludis/repositories/e/required_use_verifier.cc
+++ b/paludis/repositories/e/required_use_verifier.cc
@@ -93,7 +93,7 @@ RequiredUseVerifier::matches(const std::string & s)
}
auto c(_imp->id->choices_key()->parse_value()->find_by_name_with_prefix(ChoiceNameWithPrefix(s)));
- if (! c)
+ if ((! c) || (co_special == c->origin()))
{
Log::get_instance()->message("e.required_use.no_choice", ll_warning, lc_context)
<< "ID '" << *_imp->id << "' has no choice named '" << s << "'', so cannot check that required use constraint '" << s << "' matches";