From: Zac Medico Date: Sat, 14 Oct 2006 01:21:27 +0000 (-0000) Subject: For bug #151238, fix --with-bdeps logic so that it works correctly with --onlydeps. X-Git-Tag: v2.1.2~642 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e0cdb2d5d7d057023a7c81876524b21207efc5b;p=portage.git For bug #151238, fix --with-bdeps logic so that it works correctly with --onlydeps. svn path=/main/trunk/; revision=4675 --- diff --git a/bin/emerge b/bin/emerge index f399c661d..d605d5ccc 100755 --- a/bin/emerge +++ b/bin/emerge @@ -816,7 +816,9 @@ class depgraph: if "--buildpkgonly" in self.myopts: edepend["RDEPEND"] = "" edepend["PDEPEND"] = "" - if self.myopts.get("--with-bdeps", "n") == "n" and \ + if not (arg and "--onlydeps" in self.myopts and \ + mytype == "ebuild") and \ + self.myopts.get("--with-bdeps", "n") == "n" and \ (mytype == "binary" or mybigkey[3] == "nomerge"): edepend["DEPEND"] = ""