[Lunar-commits] <moonbase> kdebindings4: Adjusting BUILD and DEPENDS now that it compiles with Falcon.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun Mar 14 01:26:15 CET 2010


commit eb41b23973d8e1171e51ca588b6a8822a36a7038
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat Mar 13 19:26:15 2010 -0500

    kdebindings4: Adjusting BUILD and DEPENDS now that it compiles with Falcon.
---
 kde4/base/kdebindings4/BUILD   |   11 ++++++++---
 kde4/base/kdebindings4/DEPENDS |    4 +---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/kde4/base/kdebindings4/BUILD b/kde4/base/kdebindings4/BUILD
index 3b4dd27..507b7b0 100644
--- a/kde4/base/kdebindings4/BUILD
+++ b/kde4/base/kdebindings4/BUILD
@@ -8,9 +8,14 @@
   mkdir $KDE4_BUILD_DIR  &&
   cd $KDE4_BUILD_DIR     &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX          \
-                           -DENABLE_QYOTO=off -DCMAKE_BUILD_TYPE=RELEASE  \
-                           $OPTS                                         &&
+  if in_depends $MODULE Falcon ; then
+    OPTS="-DFALCON_INCLUDE_PATH=/usr/include/falcon-`lvu version Falcon`/falcon"
+  fi &&
+
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX       \
+                           -DENABLE_QYOTO=off                          \
+                           -DCMAKE_BUILD_TYPE=RELEASE                  \
+                           $OPTS                                      &&
 
   default_make
 
diff --git a/kde4/base/kdebindings4/DEPENDS b/kde4/base/kdebindings4/DEPENDS
index a0a9d45..9604c6c 100644
--- a/kde4/base/kdebindings4/DEPENDS
+++ b/kde4/base/kdebindings4/DEPENDS
@@ -9,6 +9,4 @@ optional_depends "ruby"        "-DENABLE_QTRUBY=on -DENABLE_KROSSRUBY=on" "-DENA
 optional_depends "PyQt4"       "" "" "for KDE4 python bindings"
 optional_depends "qscintilla2" "" "" "for additional binding support"
 optional_depends "gtk-sharp"   "" "" "for mono support"
-
-# The build still barfs on this so keep it commented out for now.
-#optional_depends "Falcon"      "-DENABLE_KROSSFALCON=on" "-DENABLE_KROSSFALCON=off" "for Falcon bindings support"
+optional_depends "Falcon"      "" "" "for Falcon bindings support"


More information about the Lunar-commits mailing list