[Lunar-commits] kdebindings3: This doesn't quite work if you do not

stumbles stumbles at lunar-linux.org
Fri Jan 4 16:18:46 CET 2008


commit 07cec57b47ffc231e76b3bb10b73252b80ca1fb3
Author: stumbles <stumbles at lunar-linux.org>
Date:   Fri Jan 4 10:18:46 2008 -0500

    kdebindings3: This doesn't quite work if you do not
    
    want any java at all.
---
 kde3/base/kdebindings3/BUILD |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/kde3/base/kdebindings3/BUILD b/kde3/base/kdebindings3/BUILD
index f12b11e..8d0b20f 100644
--- a/kde3/base/kdebindings3/BUILD
+++ b/kde3/base/kdebindings3/BUILD
@@ -8,8 +8,11 @@
   # java support ?
   if module_installed j2sdk; then
     OPTS="$OPTS --with-java=/usr/lib/j2sdk$(installed_version j2sdk)"
-  else
+   if module_installed sun-jdk; then
     OPTS="$OPTS --with-java=/usr/lib/jdk$(installed_version sun-jdk)"
+   fi
+  else
+    OPTS="$OPTS --without-java"
   fi  &&
 
   default_build


More information about the Lunar-commits mailing list