EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm has_tetex_3 has_tetex_3 shouldn't be in there.
we should just strip EXPORT_FUNCTIONS from all eclasses, it isnt needed anymore
rather, we'll leave that till another time ... for now, just do as ciaran suggests
Fixed in CVS. Thanks for reporting.