As per title :) Tested in a new chroot, without an X server. Builds and runs correctly on the X server outside of the chroot. Modified ebuild will be attached.
Created attachment 74470 [details, diff] Ebuild corrected for modular Xorg.
Fixed in portage, thanks for help. Please, next time use unified diffs, because it's easier to apply and check changes.