Changing the src_install() function seemed less invasive than patching stuff in this case.
Hopefully I did the ebuild for this properly.