tetex.eclass appends to ${T}/texmf-update and it may happen to do it several times in a row. Quoting tetex.eclass: cat >>${T}/texmf-update<<'EOF' .... <snip> EOF dosbin ${T}/texmf-update While I was trying to update my ptex to the latest 20050218 version (not in portage as of the moment) I had to "ebuild ptex-3.1.8.20050218.ebuild install" a few times from my overlay and the update script was appended to ${T}/texmf-update every time. This resulted in my configuration regenerated 4 times when I ran texmf-update. Is this ">>" really necessary?
The script creation should be done in src_unpack.
Fixed in CVS. (Moved it to src_unpack() and changed '>>' to '>') Thanks for the report.