summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"] = ""