Rebuilding autotools through maintainer-mode is _not_ good, because it usually means you forget to add dependencies, and they'll magically use the same version as used by upstream, which might not be what the user have installed at all.
If you patch Makefile.am or configure.in/configure.ac you _have to_ use autotools.eclass and eautomake/eautoreconf. Exceptions are granted _only_ for system packages that would make it impossible to run autotools during stagebuilding.
Please fix your package.
+ 22 Jul 2009; Robert Buchholz <firstname.lastname@example.org>
+ +files/htmltidy-20090325-tidyrc.patch, htmltidy-4.8.6.ebuild,
+ htmltidy-5.10.26-r2.ebuild, +htmltidy-20090325.ebuild:
+ Version bump to latest CVS sources. Remove xml use flag and html2db as it was
+ never integrated upstream and does not compile due to usage of internal tidy
+ API. Enable /etc/tidyrc and ~/.tidyrc config paths and build autotools
+ properly, closes bugs 154834, 219450, 226437 and 278604.