[Lunar-commits] <moonbase> podofo: Fleshing out the DEPENDS and adjusting the BUILD to build

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat Aug 20 18:13:08 CEST 2011


commit 052432e073b23b4005cd29c0a3263fedb9ac7afa
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat Aug 20 12:13:08 2011 -0400

    podofo: Fleshing out the DEPENDS and adjusting the BUILD to build
    
    shared libs.
---
 doc-tools/podofo/BUILD   |    5 ++++-
 doc-tools/podofo/DEPENDS |    6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/doc-tools/podofo/BUILD b/doc-tools/podofo/BUILD
index 874df96..c167ff1 100644
--- a/doc-tools/podofo/BUILD
+++ b/doc-tools/podofo/BUILD
@@ -5,9 +5,12 @@
   LDFLAGS="-ldl" &&
 
   if [ `arch` == "x86_64" ] ; then
-    OPTS+=" -DWANT_LIB64=TRUE"
+    OPTS+=" -DWANT_LIB64=ON" &&
+    CFLAGS+=" -fPIC"
   fi &&
 
+  OPTS+=" -DPODOFO_BUILD_SHARED=ON" &&
+
   default_cmake_build
 
 ) > $C_FIFO 2>&1
diff --git a/doc-tools/podofo/DEPENDS b/doc-tools/podofo/DEPENDS
index 6e4b4dd..e59f53d 100644
--- a/doc-tools/podofo/DEPENDS
+++ b/doc-tools/podofo/DEPENDS
@@ -1,3 +1,3 @@
-optional_depends boost   "" "" "for boost libraries support"
-optional_depends cppunit "" "" "For C++ unit framework support"
-optional_depends lua     "" "" "for scripting support"
+optional_depends boost   "-DWANT_BOOST=1" "-DWANT_BOOST=0" "for boost libraries support"
+optional_depends cppunit ""               ""               "For C++ unit framework support"
+optional_depends lua     ""               ""               "for scripting support"


More information about the Lunar-commits mailing list