fbida has a script called fbgv which converts pdfs to a temporary tiff file using ghostscript, and then calls fbi to view them. The attached patch to fbida-2.03-r1.ebuild adds a pdf USE flag, a ?pdf DEPEND for ghostscript-eps, and a check that the tiff USE flag is set.
Created attachment 78041 [details, diff] patch to fbiida-2.03-r1.ebuild
Created attachment 78043 [details, diff] the right patch doh! this one is better
The patch is wrong. 1/ should depend on virtual/ghostscript instead 2 pdf use flag should include media-libs/tiff dependency if tiff use flag is not set, instead of pointless bailing out later on in the ebuild.
Fixed in CVS. Thanks for your patches and suggestions. I chose to ignore media-gfx/fbi, since this package is deprecated and will be removed soon. Adding proper support for all USE flags would require rewriting half the ebuild.