[Lunar-commits] <moonbase> FreeImage: Adding a CONFIGURE asking to build its C++ wrapper;

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Dec 13 17:55:18 CET 2011


commit cfb71d0fd8684987eb690d811829c75714bbcf2a
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Dec 13 11:55:18 2011 -0500

    FreeImage: Adding a CONFIGURE asking to build its C++ wrapper;
    
    this is needed by opencascade when it gets added to moonbase.
---
 graphics/FreeImage/BUILD     |    7 ++++++-
 graphics/FreeImage/CONFIGURE |    1 +
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/graphics/FreeImage/BUILD b/graphics/FreeImage/BUILD
index 13e2691..02cabc7 100644
--- a/graphics/FreeImage/BUILD
+++ b/graphics/FreeImage/BUILD
@@ -2,6 +2,11 @@
 
   sed -i "54i #include <string.h>" Source/OpenEXR/Imath/ImathMatrix.h &&
 
-  default_make
+  default_make &&
+
+  if [ $BUILD_FIP == "y" ]; then
+    make -f Makefile.fip  &&
+    make -f Makefile.fip install 
+  fi 
 
 ) > $C_FIFO 2>&1
diff --git a/graphics/FreeImage/CONFIGURE b/graphics/FreeImage/CONFIGURE
new file mode 100644
index 0000000..ef3ce9a
--- /dev/null
+++ b/graphics/FreeImage/CONFIGURE
@@ -0,0 +1 @@
+mquery BUILD_FIP "Do want to build and install FreeImagePlus C++ wrapper?" y


More information about the Lunar-commits mailing list