Homebrew/homebrew-dupes — pull request #184 by int3h (2013-05-02 22:08:47+00:00)
Title: groff: 1.22.2 - fixed deps needed for html gen

During configuration, groff checks for gs, pnmcut, pnmcrop,
pnmtopng, psselect and pnmtops. If it does not find them, then the
html output generator will not work correctly in certain cases.

Homebrew's superenv was preventing these utilities from ever being
found, even if you did have them installed. I've added ghostscript,
netpbm and psutils to the deps, which should both ensure that these
utilties are installed, and that groff can find them.

Additionally, I've patched a bug in the ./configure script when being
used with homebrew, where a check for pnmtops' capabilities was hanging
the script. Somehow, the '|' character in the shell command was causing
the hang. Oddly, the ./configure script works absolutely fine if you run
it from the shell yourself (either with brew install -i, or by
downloading the source yourself and building.) No idea what weird voodoo
interaction between homebrew, configure, and bash was causing it.