I have attached the modified ebuild. Now sgml2html should at least do something ;-) The only problem I got now is to make it work with some linuxdoc sgml files. The process stops after a while due to the large number of errors. The same files are converted just fine on another (non-gentoo) system :-/
Created attachment 16866 [details] sgmltools-lite-3.0.3-r7.ebuild
okay, your patch looks good for fixing the sgml2* files, they definitely dont work as intended. i'll get this in when CVS gets back up. re your linuxdoc sgml files: is that still a problem ?
i've fixed the sgml2* problem and verified they work. if you have a seperate problem, please open another bug. thanks again for your report/fix.