Attached ebuild with changes necessary for upcoming modular X release. Builds and runs fine from a fresh chroot without a local X server.
Created attachment 74417 [details, diff] Ebuild with modular dependencies.
fixed -thanks Ben