The only disadvantage to this is that the information about a dependency
being make or not is lost, which could be reason enough not to merge this. Perhaps a patch to just print package names and optionally make at the end would be better, for example:
grep -E "^$1( |$)" -- */depends | sed "s@/depends:$1@@"
so that output looks like
$ kiss revd perl
autoconf
automake
cloc
firefox make
groff
openssl make
valgrind
xdotool make
The only disadvantage to this is that the information about a dependency being
make
or not is lost, which could be reason enough not to merge this. Perhaps a patch to just print package names and optionallymake
at the end would be better, for example:so that output looks like