Not sure if it is bug in eclass or in ebuild only, but digikam does not have $kdehandbookdepend in DEPEND. If app-text/docbook-xml-dtd:4.2 app-text/docbook-xsl-stylesheets are not installed build fails: ... file:///usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd:101: warning: failed to load external entity "file:///usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd" %DocBookDTD; ^ ... index.docbook:2663: parser error : Entity 'documentation.index' not defined &documentation.index; ^ make[2]: *** [doc/en/index.cache.bz2] Error 1 make[1]: *** [doc/en/CMakeFiles/en-handbook.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
Seems ebuild should have KDE_HANDBOOK=optional instead of 'handbook' in IUSE. P.S. Same problem may be in other packages.
Should be fixed.