aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/dep_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/dep_parser.cc')
-rw-r--r--paludis/repositories/e/dep_parser.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/repositories/e/dep_parser.cc b/paludis/repositories/e/dep_parser.cc
index d423c9a7f..0d1728abe 100644
--- a/paludis/repositories/e/dep_parser.cc
+++ b/paludis/repositories/e/dep_parser.cc
@@ -111,10 +111,11 @@ namespace
const EAPI & eapi,
bool add_explicit_choices_requirement)
{
+ auto mentioned(std::make_shared<Set<std::string> >());
auto data(partial_parse_elike_package_dep_spec(s, eapi.supported()->package_dep_spec_parse_options(),
- eapi.supported()->version_spec_options()));
+ eapi.supported()->version_spec_options(), mentioned));
if (add_explicit_choices_requirement)
- data.additional_requirement(make_elike_presumed_choices_requirement());
+ data.additional_requirement(make_elike_presumed_choices_requirement(mentioned));
std::shared_ptr<PackageDepSpec> spec(std::make_shared<PackageDepSpec>(data));
h.begin()->item()->append(spec);
h.begin()->children().push_back(spec);