Here's a new ebuild for erlang that include support for documentation R10B-2 Reproducible: Always Steps to Reproduce:
Created attachment 49999 [details] the ebuild
Created attachment 50007 [details] cd ${D}/${ERL_LIBDIR} was breaking dodoc line The only line in src_install() after: make INSTALL_PREFIX=${D} install || die that depends pwd being ${S} is: dodoc AUTHORS EPLICENCE README So I moved the dodoc ... line above the if statement. I believe you could also cd ${S} after the if stement and fix it.
Created attachment 50008 [details] previous patch was reversed The file order on the previous unified diff was reversed; I apologize.
This ebuild also works for otp-10B-3 (erlang 10.2.3)
this is fixed in erlang-10.x