summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-14 01:21:27 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-14 01:21:27 +0000
commit9e0cdb2d5d7d057023a7c81876524b21207efc5b (patch)
tree236b3cf015a6985c93fbad0d288b97ec339b1c32 /bin
parenteb961efa13b7cf0856f4a7e87952f3abfe2244a3 (diff)
downloadportage-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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge4
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"] = ""