aboutsummaryrefslogtreecommitdiff
path: root/paludis/qa/dep_packages_check.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/qa/dep_packages_check.cc')
-rw-r--r--paludis/qa/dep_packages_check.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/paludis/qa/dep_packages_check.cc b/paludis/qa/dep_packages_check.cc
index c6e2a6dc9..b3679b8e1 100644
--- a/paludis/qa/dep_packages_check.cc
+++ b/paludis/qa/dep_packages_check.cc
@@ -111,8 +111,7 @@ DepPackagesCheck::operator() (const EbuildCheckData & e) const
}
Checker depend_checker(result, "DEPEND", suspicious_depend);
- std::string depend(metadata->deps_interface->build_depend_string);
- PortageDepParser::parse(depend)->accept(&depend_checker);
+ metadata->deps_interface->build_depend()->accept(&depend_checker);
static std::set<QualifiedPackageName> suspicious_rdepend;
if (suspicious_rdepend.empty())
@@ -135,8 +134,7 @@ DepPackagesCheck::operator() (const EbuildCheckData & e) const
}
Checker rdepend_checker(result, "RDEPEND", suspicious_rdepend);
- std::string rdepend(metadata->deps_interface->run_depend_string);
- PortageDepParser::parse(rdepend)->accept(&rdepend_checker);
+ metadata->deps_interface->run_depend()->accept(&rdepend_checker);
}
catch (const InternalError &)
{