[Lunar-commits] <moonbase-other> blender: sedits belong in PRE_BUILD

v4hn me at v4hn.de
Sun Dec 28 20:00:17 CET 2014


commit 7308dd6025b914bfb8ad40d58441c95299dc69fe
Author: v4hn <me at v4hn.de>
Date: Sun, 28 Dec 2014 19:59:51 +0100
URL: https://github.com/lunar-linux/moonbase-other/commit/7308dd6025b914bfb8ad40d58441c95299dc69fe

blender: sedits belong in PRE_BUILD
---
  graphics/blender/BUILD     | +0/-3     
  graphics/blender/PRE_BUILD | +4/-0     
  2 files changed, 4 insertions(+), 3 deletions(-)

--- a/graphics/blender/BUILD
+++ b/graphics/blender/BUILD
@@ -1,9 +1,6 @@
 
   PYTHON_VER="$(module_version Python-3 | cut -c1)" &&
 
-  sedit "s:= bitmap.width:= (int)bitmap.width:" source/blender/blenfont/intern/blf_glyph.c &&
-  sedit "s:height = bitmap.rows:height = (int)bitmap.rows:" source/blender/blenfont/intern/blf_glyph.c &&
-
 # Has trouble finding llvm
   if in_depends $MODULE llvm && [[ `arch` == "x86_64" ]]; then
     OPTS+=" -DLLVM_LIBRARY=/usr/lib/libLLVM-$(module_version llvm).so"
--- /dev/null
+++ b/graphics/blender/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+
+sedit "s:= bitmap.width:= (int)bitmap.width:" source/blender/blenfont/intern/blf_glyph.c &&
+sedit "s:height = bitmap.rows:height = (int)bitmap.rows:" source/blender/blenfont/intern/blf_glyph.c




More information about the Lunar-commits mailing list