[Lunar-commits] <moonbase> redland: Make it use the right xml backend.

Moritz Heiber moe at lunar-linux.org
Fri Jul 25 15:28:24 CEST 2008


commit e8b792c8228e137fff310c56cf067b53a2ee0eaf
Author: Moritz Heiber <moe at lunar-linux.org>
Date:   Fri Jul 25 14:23:52 2008 +0200

    redland: Make it use the right xml backend.
    
    If you specify --with-raptor=system you'd better have raptor installed
    and updated AND listed in DEPENDS kthxbye.
---
 kde3/utils/redland/BUILD   |    8 +++++++-
 kde3/utils/redland/DEPENDS |    2 ++
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/kde3/utils/redland/BUILD b/kde3/utils/redland/BUILD
index 6902978..1d4646b 100644
--- a/kde3/utils/redland/BUILD
+++ b/kde3/utils/redland/BUILD
@@ -1,6 +1,12 @@
 (
 
-  OPTS="$OPTS --with-threads --with-raptor=system --with-rasqal=internal"
+  OPTS+=" --with-threads --with-raptor=system --with-rasqal=internal"
+
+  if in_depends $MODULE libxml2 ; then
+    OPTS+=" --with-xml-parser=libxml"
+  else
+    OPTS+=" --with-xml-parser=expat"
+  fi
 
   default_build
 
diff --git a/kde3/utils/redland/DEPENDS b/kde3/utils/redland/DEPENDS
index 482ecd0..e312725 100644
--- a/kde3/utils/redland/DEPENDS
+++ b/kde3/utils/redland/DEPENDS
@@ -1,3 +1,5 @@
+depends raptor
+
 optional_depends "db"           "--with-bdb"        "--without-bdb"        "for database support"
 optional_depends "mysql"        "--with-mysql"      "--without-mysql"      "for database support"
 optional_depends "postgresql"   "--with-postgresql" "--without-postgresql" "for database support"


More information about the Lunar-commits mailing list