[Lunar-commits] <moonbase-other> widelands: Moved sedit to PRE_BUILD

Peter de Ridder peter at lunar-linux.org
Sun Sep 1 19:18:43 CEST 2013


commit 3dd5d80f654c4ce502a39671b7c89fa4203590fa
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sun, 01 Sep 2013 09:44:53 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/3dd5d80f654c4ce502a39671b7c89fa4203590fa

widelands: Moved sedit to PRE_BUILD
---
  games/widelands/BUILD     | +0/-3     
  games/widelands/PRE_BUILD | +4/-0     
  2 files changed, 4 insertions(+), 3 deletions(-)

--- a/games/widelands/BUILD
+++ b/games/widelands/BUILD
@@ -1,7 +1,4 @@
 make -C lua-5.1.5 linux &&
 make -C lua-5.1.5 local &&
 export LUA_DIR="$SOURCE_DIRECTORY/lua-5.1.5" &&
-sedit /Boost_USE_STATIC_LIBS/d CMakeLists.txt &&
-sedit '/#ifndef WIN32/a\
-    #include <unistd.h>' src/main.cc &&
 default_cmake_build
--- a/games/widelands/PRE_BUILD
+++ b/games/widelands/PRE_BUILD
@@ -1,3 +1,7 @@
 default_pre_build &&
 
+sedit /Boost_USE_STATIC_LIBS/d CMakeLists.txt &&
+sedit '/#ifndef WIN32/a\
+    #include <unistd.h>' src/main.cc &&
+
 unpack $SOURCE2




More information about the Lunar-commits mailing list