[Lunar-commits] <moonbase> opal: A few more changes to BUILD and DEPENDS. To enable java their

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Dec 1 13:50:33 CET 2011


commit ad3bd9bed08ebe9e1df196e25ecfe4dc8a7f89c1
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Dec 1 07:50:33 2011 -0500

    opal: A few more changes to BUILD and DEPENDS. To enable java their
    
    JDK_ROOT needs to equal our JAVA_HOME. Ignore the configure status
    regarding no jni.h... it lies! greping for java in the compile log
    tells a different story.
---
 net/opal/BUILD   |    8 ++++++++
 net/opal/DEPENDS |    8 ++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/net/opal/BUILD b/net/opal/BUILD
index 972af6f..fdec310 100644
--- a/net/opal/BUILD
+++ b/net/opal/BUILD
@@ -1,5 +1,13 @@
 (
 
+  if module_installed sun-jdk ; then
+       export JDK_ROOT="$JAVA_HOME" 
+  fi &&
+
+  if module_installed sun-jre ; then
+       export JDK_ROOT="$JAVA_HOME"
+  fi &&
+
   patch_it $SOURCE2 0 &&
 
 #Revisit on next bump.
diff --git a/net/opal/DEPENDS b/net/opal/DEPENDS
index 29d90c2..623f5ba 100644
--- a/net/opal/DEPENDS
+++ b/net/opal/DEPENDS
@@ -1,4 +1,8 @@
 depends ptlib
 
-optional_depends swig "--enable-java" "--disable-java" "enable JAVA JNI support"
-optional_depends ruby "--enable-ruby" "--disable-ruby" "for ruby support"
+optional_depends swig      ""              ""               "For code wrapping support"
+optional_depends srtp      "--enable-srtp" "--disable-srtp" "Enable SRTP protocol support"
+optional_depends ruby      "--enable-ruby" "--disable-ruby" "For ruby support"
+optional_depends %JAVA_SDK "--enable-java" "--disable-java" "For java support"
+
+optional_depends speex "--disable-localspeexdsp" "--enable-localspeexdsp" "for speex echo cancellation support; Y=system"


More information about the Lunar-commits mailing list