diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-10-14 01:21:27 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-10-14 01:21:27 +0000 |
commit | 9e0cdb2d5d7d057023a7c81876524b21207efc5b (patch) | |
tree | 236b3cf015a6985c93fbad0d288b97ec339b1c32 | |
parent | eb961efa13b7cf0856f4a7e87952f3abfe2244a3 (diff) | |
download | portage-9e0cdb2d5d7d057023a7c81876524b21207efc5b.tar.gz portage-9e0cdb2d5d7d057023a7c81876524b21207efc5b.tar.bz2 portage-9e0cdb2d5d7d057023a7c81876524b21207efc5b.zip |
For bug #151238, fix --with-bdeps logic so that it works correctly with --onlydeps.
svn path=/main/trunk/; revision=4675
-rwxr-xr-x | bin/emerge | 4 |
1 files changed, 3 insertions, 1 deletions
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"] = "" |