--- qt-3.3.3.ebuild.orig 2004-08-23 15:53:54.695432904 +0200 +++ qt-3.3.3.ebuild 2004-08-23 15:58:49.287648080 +0200 @@ -58,6 +58,15 @@ ewarn "Be aware." ewarn fi + if use opengl ; then + if ! [ -e /usr/X11R6/include/GL/glext.h ] ; then + ewarn + ewarn "You are going to compile Qt with opengl support." + ewarn "It's necessary that you run opengl-update first or the Qt meight will fail." + ewarn + die + fi + fi } src_unpack() {