From 86c96334c5282e19ab47c827d0585d0e34b2caa4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 4 Sep 2006 22:35:17 +0000 Subject: [PATCH] Revert r4403 since dep_check needs a config instance for the $ROOT where the dependencies will be installed. svn path=/main/trunk/; revision=4406 --- bin/emerge | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bin/emerge b/bin/emerge index e18aa7794..5bcb6eaa4 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1017,15 +1017,8 @@ class depgraph: #processing dependencies """ Call portage.dep_check to evaluate the use? conditionals and make sure all dependencies are satisfiable. """ - if myparent: - p_type, p_root, p_key, p_status = myparent.split() - dep_settings = self.pkgsettings[p_root] - dep_settings.setcpv(p_key) - else: - dep_settings = self.pkgsettings[self.target_root] - dep_settings.reset() mycheck = portage.dep_check(depstring, self.mydbapi[myroot], - dep_settings, myuse=myuse, + pkgsettings, myuse=myuse, use_binaries=("--usepkgonly" in self.myopts), myroot=myroot, trees=self.trees) -- 2.26.2