[Lunar-commits] <moonbase-other> FreeImage: fix bug & cleanup

v4hn me at v4hn.de
Mon May 6 18:35:11 CEST 2013


commit d15ad97b6bafb586639afaa76d2bf5ab5160cfe3
Author: v4hn <me at v4hn.de>
Date: Mon, 06 May 2013 09:34:46 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/d15ad97b6bafb586639afaa76d2bf5ab5160cfe3

FreeImage: fix bug & cleanup
---
  graphics/FreeImage/BUILD | +8/-9     
  1 file changed, 8 insertions(+), 9 deletions(-)

--- a/graphics/FreeImage/BUILD
+++ b/graphics/FreeImage/BUILD
@@ -1,12 +1,11 @@
-(
+sedit "36i #include <string.h>" Source/OpenEXR/IlmImf/ImfAutoArray.h &&
 
-  sed -i "36i #include <string.h>" Source/OpenEXR/IlmImf/ImfAutoArray.h &&
+# we need the visibility flag, so don't overwrite them
+sedit "s:CFLAGS ?=:CFLAGS +=:; s:CXXFLAGS ?=:CXXFLAGS +=:" Makefile.gnu &&
 
-  default_make &&
+default_make &&
 
-  if [ $BUILD_FIP == "y" ]; then
-    make -f Makefile.fip  &&
-    make -f Makefile.fip install 
-  fi 
-
-) > $C_FIFO 2>&1
+if [ $BUILD_FIP == "y" ]; then
+  make -f Makefile.fip  &&
+  make -f Makefile.fip install
+fi




More information about the Lunar-commits mailing list