[Lunar-commits] openvrml: The sedit is not needed anymore and

stumbles stumbles at lunar-linux.org
Mon Jan 7 15:35:04 CET 2008


commit 5d745d5b9fcfa848fea22394d22a43549fffacea
Author: stumbles <stumbles at lunar-linux.org>
Date:   Mon Jan 7 09:35:04 2008 -0500

    openvrml: The sedit is not needed anymore and
    
    a few other twiddles here to minimize messing with the BUILD.
---
 graphics/openvrml/BUILD |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/openvrml/BUILD b/graphics/openvrml/BUILD
index 3713626..c27c23d 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