From 9e0cdb2d5d7d057023a7c81876524b21207efc5b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 14 Oct 2006 01:21:27 +0000 Subject: For bug #151238, fix --with-bdeps logic so that it works correctly with --onlydeps. svn path=/main/trunk/; revision=4675 --- bin/emerge | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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"] = "" -- cgit v1.2.3-1-g7c22