As above, but app-portage/portage-utils needs some extra fixing. Attached is a new portage-utils-0.2-hpux.patch which has FreeMiNT references. Additionally, another patch to remove some extraneous code that doesn't seem to be required which stops the build on FreeMiNT.
Created attachment 202945 [details, diff] new hpux patch
Created attachment 202947 [details, diff] mint patch
Obviously the ebuild needs the mint patch adding too. thanks.
patches added and committed to the "upstream" sources. Thanks