I emerge x11-misc/rss-glx and it failed complaint about missing gl.h. Look around and I saw this: # cat /etc/env.d/09opengl LDPATH=/usr/lib/opengl/xfree/lib # cat /etc/ld.so.conf | grep opengl /usr/lib/opengl/xfree/lib ATM, I provide a symlink /usr/lib/opengl/xfree --> /usr/lib/opengl/xorg-x11 and I be able to emerge x11-misc/rss-glx.
# opengl-update xorg-x11
now I look in the ebuild there is code in 'pkg_postinst()' to do it automatically(?) # Switch to the xorg implementation. # Use new opengl-update that will not reset user selected # OpenGL interface ... echo; ${ROOT}/usr/sbin/opengl-update --use-old ${PN}
Created attachment 32277 [details] edit /var/cache/edb/virtuals edit /var/cache/edb/virtuals replace virtual/opengl x11-base/xfree by virtual/opengl x11-base/xorg-x11
Created attachment 32279 [details] edit /var/cache/edb/virtuals edit /var/cache/edb/virtuals replace virtual/opengl x11-base/xfree by virtual/opengl x11-base/xorg-x11
Looking through my bug and bug #51726 hits me. I think the reason opengl-update failed to run when I emerge xorg-x11 because I have the opengl-update on my system overwrited by the livecd-tools. But anyway xorg-x11 should break if it failed to run opengl-update successfully. If you don't agree then please close as the summary is wrong. Sorry for mislead.
opengl-update is merely a post-install configuration thing that we run during the xorg-x11 build to make things easier. It can easily be run independently of the build if it doesn't work during it; therefore I'm closing this.