aboutsummaryrefslogtreecommitdiff
path: root/paludis/qa/dep_any_check.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/qa/dep_any_check.cc')
-rw-r--r--paludis/qa/dep_any_check.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/paludis/qa/dep_any_check.cc b/paludis/qa/dep_any_check.cc
index 660bbbcce..8908eb402 100644
--- a/paludis/qa/dep_any_check.cc
+++ b/paludis/qa/dep_any_check.cc
@@ -114,16 +114,13 @@ DepAnyCheck::operator() (const EbuildCheckData & e) const
if (metadata->deps_interface)
{
Checker depend_checker(result, "DEPEND");
- std::string depend(metadata->deps_interface->build_depend_string);
- PortageDepParser::parse(depend)->accept(&depend_checker);
+ metadata->deps_interface->build_depend()->accept(&depend_checker);
Checker rdepend_checker(result, "RDEPEND");
- std::string rdepend(metadata->deps_interface->run_depend_string);
- PortageDepParser::parse(rdepend)->accept(&rdepend_checker);
+ metadata->deps_interface->run_depend()->accept(&rdepend_checker);
Checker pdepend_checker(result, "PDEPEND");
- std::string pdepend(metadata->deps_interface->post_depend_string);
- PortageDepParser::parse(pdepend)->accept(&pdepend_checker);
+ metadata->deps_interface->post_depend()->accept(&pdepend_checker);
}
}
catch (const InternalError &)