[Lunar-commits] openvrml: thought I pushed this already.

stumbles stumbles at lunar-linux.org
Wed Jan 9 02:41:08 CET 2008


commit 6f31b0a82a97fd91a5ec7c565c9d9a4e3229c8d3
Author: stumbles <stumbles at lunar-linux.org>
Date:   Tue Jan 8 20:41:08 2008 -0500

    openvrml: thought I pushed this already.
---
 graphics/openvrml/BUILD |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/openvrml/BUILD b/graphics/openvrml/BUILD
index 3713626..cf64327 100644
--- a/graphics/openvrml/BUILD
+++ b/graphics/openvrml/BUILD
@@ -1,9 +1,10 @@
 (
 
-  export BOOST_LIB_SUFFIX=-gcc42-mt
-  export CPPFLAGS="$CPPFLAGS -I/usr/include/boost-1_34_1"
+  BOOST_VER=`lvu version boost | sed "s:\.:_:g"`
+  GCC_VER=`lvu version gcc | sed "s:\.::g" | cut -c 1-2`
 
-  sedit "s:(GLvoid):():" src/libopenvrml-gl/openvrml/gl/viewer.cpp
+  export BOOST_LIB_SUFFIX=-gcc$GCC_VER-mt
+  export CPPFLAGS="$CPPFLAGS -I/usr/include/boost-${BOOST_VER}"
 
   default_build
 


More information about the Lunar-commits mailing list