I'm trying to remove X11 dependencies from my system. The build process tries to include <X11/Xlib.h>, which does not exist on my system, through /usr/include/EGL/eglplatform.h Reproducible: Always
WFM using USE="-opengl wayland -X" without libX11 installed.
Adding `-DEGL_NO_X11` to the C(XX)FLAGS should fix this part, it's required for a lot of ebuilds when building with `USE=-X` ( btw here are my notes about it: https://hacktivis.me/notes/pure-wayland ).