[Lunar-commits] <moonbase> soprano: fix the BUILD file to compile without java.

Florin Braescu florin at lunar-linux.org
Wed Apr 1 19:45:28 CEST 2009


commit 796eb808a61f5829f45188e7c8bcb9dba7d8d21f
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Apr 1 20:45:28 2009 +0300

    soprano: fix the BUILD file to compile without java.
---
 kde4/utils/soprano/BUILD |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/kde4/utils/soprano/BUILD b/kde4/utils/soprano/BUILD
index f2fc9dc..4aa016f 100644
--- a/kde4/utils/soprano/BUILD
+++ b/kde4/utils/soprano/BUILD
@@ -3,14 +3,16 @@
   if module_installed sun-jdk; then
     . /etc/profile.d/sun-jdk.rc
   else
-    . /etc/profile.d/sun-jre.rc
-  fi &&
+    if module_installed sun-jre; then
+      . /etc/profile.d/sun-jre.rc
+    fi
+  fi  &&
 
-  source /etc/profile.d/qt4.rc &&
+  source /etc/profile.d/qt4.rc  &&
   
-  cmake ./ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX               \
-           -DENABLE_FAM:BOOL=ON -DENABLE_EXPAT:BOOL=ON         \
-           -DENABLE_INOTIFY:BOOL=O -DCMAKE_BUILD_TYPE=RELEASE &&
+  cmake ./ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX                \
+           -DENABLE_FAM:BOOL=ON -DENABLE_EXPAT:BOOL=ON          \
+           -DENABLE_INOTIFY:BOOL=O -DCMAKE_BUILD_TYPE=RELEASE  &&
 
   default_make
 


More information about the Lunar-commits mailing list