 +GLU_LIB_DEPS =  
 +APP_LIB_DEPS = -lbe -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -l$(GLUT_LIB)
 diff -Naur Mesa-7.8.2/include/GL/gl.h Mesa-7.8.2-haiku/include/GL/gl.h
---- Mesa-7.8.2/include/GL/gl.h	2010-04-27 21:41:21.060555264 +0000
-+++ Mesa-7.8.2-haiku/include/GL/gl.h	2013-02-17 22:30:31.274989056 +0000
+--- Mesa-7.8.2/include/GL/gl.h	2010-04-27 21:41:21.061865984 +0000
++++ Mesa-7.8.2-haiku/include/GL/gl.h	2013-04-24 20:34:52.693895168 +0000
 @@ -67,7 +67,8 @@
  #elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
  #  define GLAPI extern

diff -Naur Mesa-7.8.2/bin/mklib Mesa-7.8.2-haiku/bin/mklib
--- Mesa-7.8.2/bin/mklib	2010-06-15 17:43:41.034865152 +0000
+++ Mesa-7.8.2-haiku/bin/mklib	2013-02-17 22:26:13.017301504 +0000
@@ -260,7 +260,7 @@
     NEWOBJECTS=""
     for OBJ in $OBJECTS ; do

 /*
  * ... isn't portable so we need to pass arguments in parentheses.
diff -Naur Mesa-7.8.2/src/glu/sgi/Makefile Mesa-7.8.2-haiku/src/glu/sgi/Makefile
--- Mesa-7.8.2/src/glu/sgi/Makefile	2010-02-05 00:10:40.066060288 +0000
+++ Mesa-7.8.2-haiku/src/glu/sgi/Makefile	2013-04-24 20:34:52.730071040 +0000
@@ -135,13 +135,19 @@
 	-mkdir $(TOP)/$(LIB_DIR)
 
