merged from trunk 4675
authorFabian Groffen <grobian@gentoo.org>
Sat, 14 Oct 2006 14:10:09 +0000 (14:10 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sat, 14 Oct 2006 14:10:09 +0000 (14:10 -0000)
svn path=/main/branches/prefix/; revision=4686

bin/emerge

index 3d2dd2c75e0faaee72c2b07e67c815abbe56dd24..4bb7c20c70a2c84b425bafbb310ff44bf87daab0 100755 (executable)
@@ -817,7 +817,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"] = ""