Initially ocurred on my Desktop and reproduced on my Laptop the metakit-2.4.7.37.ebuild fails with an access violation.
Created attachment 14100 [details] The access violation summary
Will have a look at it
Created attachment 14102 [details, diff] This is a patch for metakit-2.4.37 This patch fixes the access violation bug for me. The Makefile generated by configure doesnt seem to honor the DESTDIR variable, so is sed through the Makefile and make him :-)
It's easier than that - no patch necessary. Just use einstall (which sets ${prefix} correctly) instead of make install. Modified the ebuild without increasing the revision number - if someone emerged it successfully, there's no need to let him do it again.