I'm setting up a prefix install for the first time, and I found that opengl-apple-4 links to non-existent files on my Mountain Lion system. I ran some locate commands to try to figure out the new paths. I found some files under /Applications/Xcode.app, but didn't list those paths here to reduce clutter (tell me if you want to see them). couldn't find anything with locate: $EPREFIX/usr/include/GL/GLwDrawA.h -> /usr/X11R6/include/GL/GLwDrawA.h $EPREFIX/usr/include/GL/osmesa.h -> /usr/X11R6/include/GL/osmesa.h $EPREFIX/usr/lib/libGLw.a -> /usr/X11R6/lib/libGLw.a $EPREFIX/usr/lib/opengl/opengl-apple/include/glx.h -> /usr/X11R6/include/GL/glx.h $EPREFIX/usr/lib/opengl/opengl-apple/include/glxext.h -> /usr/X11R6/include/GL/glxext.h $EPREFIX/usr/lib/opengl/opengl-apple/include/glxmd.h -> /usr/X11R6/include/GL/glxmd.h $EPREFIX/usr/lib/opengl/opengl-apple/include/glxproto.h -> /usr/X11R6/include/GL/glxproto.h $EPREFIX/usr/lib/opengl/opengl-apple/include/glxtokens.h -> /usr/X11R6/include/GL/glxtokens.h found a likely replacement with locate: $EPREFIX/usr/include/GL/glu.h -> /usr/X11R6/include/GL/glu.h /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glu.h $EPREFIX/usr/lib/libGLU.dylib -> /usr/X11R6/lib/libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib /usr/X11/lib/libGLU.1.dylib $EPREFIX/usr/lib/opengl/opengl-apple/lib/libGL.dylib -> /usr/X11R6/lib/libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib /usr/X11/lib/libGL.1.dylib found replacements in /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/: $EPREFIX/usr/lib/opengl/opengl-apple/include/gl.h -> /usr/X11R6/include/GL/gl.h $EPREFIX/usr/lib/opengl/opengl-apple/include/glext.h -> /usr/X11R6/include/GL/glext.h The upshot of all this is that eselect opengl refuses to switch to apple's opengl implementation: $ eselect opengl list Available OpenGL implementations: [1] opengl-apple [2] xorg-x11 * $ eselect opengl set 1 !!! Error: The opengl-apple OpenGL implementation doesn't seem to provide !!! Error: libGL.dylib file. This might be an effect of breakage introduced !!! Error: by a prioprietary driver installer. Please re-merge the package !!! Error: providing your OpenGL implementation. !!! Error: Selected OpenGL implementation incomplete. exiting Reproducible: Always
quote from wikipedia: Mac OS X v10.5, Mac OS X v10.6 and Mac OS X v10.7 installed X11.app by default, but as of OS X Mountain Lion, Apple has dropped dedicated support for X11.app, with users directed to the open source XQuartz project instead. ok, so that explains why half of the stuff is missing.
we'd have to create an ebuild like MacPorts does: https://trac.macports.org/browser/trunk/dports/x11/xorg-server/Portfile
I think reality is that we failed to keep X support running.