summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 5d07b2f3d..d018af9ee 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -869,6 +869,12 @@ class depgraph:
try:
mykey = portage.dep_expand(x,
mydb=portdb, settings=pkgsettings)
+ if mykey.startswith("null/"):
+ # If category expansion fails against the portage tree,
+ # remove the null/ prefix so that it may be given
+ # another chance to expand against the binary package
+ # tree in select_dep().
+ mykey = mykey[5:]
except ValueError, errpkgs:
print "\n\n!!! The short ebuild name \"" + x + "\" is ambiguous. Please specify"
print "!!! one of the following fully-qualified ebuild names instead:\n"