[Lunar-commits] <moonbase-kde> gluon: Adjusting BUILD so it will compile with the gcc bump.

Dennis Veatch stumbles at lunar-linux.org
Thu Aug 16 09:48:12 CEST 2012


commit 7851435bce7176dd22a3dda53a4f2d964d3fe53d
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Thu, 16 Aug 2012 00:48:12 -0700
URL: https://github.com/lunar-linux/moonbase-kde/commit/7851435bce7176dd22a3dda53a4f2d964d3fe53d

gluon: Adjusting BUILD so it will compile with the gcc bump.
---
  utils/gluon/BUILD                                            +4/-7     
  1 files changed, 4 insertions (+), 7 deletions (-)

--- a/utils/gluon/BUILD
+++ b/utils/gluon/BUILD
@@ -1,15 +1,12 @@
 (
 
+  sed -i "26i #include <unistd.h>" input/linux/detectlinux.cpp input/linux/inputthread.cpp &&
+
   source /etc/profile.d/qt4.rc  &&
   source /etc/profile.d/kde4.rc &&
 
-  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-        -DCMAKE_BUILD_TYPE=RELEASE             \
-        -DBUILD_PHYSICS_COMPONENTS=ON          \
-        -DBUILD_PHYSICS_ASSETS=ON              \
-        -DBUILD_GLUON_PLAYER=ON                \
-        $OPTS .                               &&
+  OPTS+=" -DBUILD_PHYSICS_COMPONENTS=ON -DBUILD_PHYSICS_ASSETS=ON -DBUILD_GLUON_PLAYER=ON" &&
 
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1




More information about the Lunar-commits mailing list