[Lunar-commits] <moonbase> mesa-lib: add a proper way to disable glew

Samuel samuel.verstraete at gmail.com
Wed Oct 14 09:24:01 CEST 2009


commit b0a97f8b1434a73f5c62d2a46258b1c2327447d1
Author: Samuel <samuel.verstraete at gmail.com>
Date:   Wed Oct 14 09:24:01 2009 +0200

    mesa-lib: add a proper way to disable glew
---
 xorg7/mesa-lib/BUILD |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/xorg7/mesa-lib/BUILD b/xorg7/mesa-lib/BUILD
index 5982cb9..cf6d44a 100644
--- a/xorg7/mesa-lib/BUILD
+++ b/xorg7/mesa-lib/BUILD
@@ -7,8 +7,7 @@
     OPTS+=$(echo $MESADRIVER | sed s/\ /,/g)
   fi  &&
 
-  # Excludes glew headers, and prevents need for /usr/include/GL/gl{,u,ut}.h
-  rm -r progs/{demos,samples}  &&
+  sedit s at glew@@g configure.ac &&
 
   ./configure --prefix=/usr $OPTS  &&
   prepare_install  &&
@@ -20,9 +19,6 @@
   make glxgears glxinfo  &&
   cd ../..  &&
 
-  # Prevent glew headers from being installed
-  rm include/GL/{glew,glxew,wglew}.h  &&
-
   make install  &&                 
 
   install -v -m755 progs/xdemos/glx{gears,info} /usr/bin/


More information about the Lunar-commits mailing list