diff options
Diffstat (limited to 'bin/emerge')
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index 7ee4c3f0a..12d7a292a 100755 --- a/bin/emerge +++ b/bin/emerge @@ -4990,6 +4990,11 @@ def action_build(settings, trees, mtimedb, else: mydepgraph.display( mydepgraph.altlist(reversed=("--tree" in myopts))) + if "--buildpkgonly" in myopts and \ + not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM): + print "\n!!! --buildpkgonly requires all dependencies to be merged." + print "!!! You have to merge the dependencies before you can build this package.\n" + sys.exit(1) else: if ("--buildpkgonly" in myopts): if not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM): |