I attach an ebuild for fixing it Thanks
Created attachment 105467 [details] egoboo-2.22-r1.ebuild
Thanks for ebuild. It is now in portage.