[Lunar-commits] <moonbase> subversion: the BUILD fails with sun-jdk, it cannot find javahl during

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Tue Jan 6 00:03:30 CET 2009


commit 260805e30dec67878c4ae901cbfd670d9fb22e49
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Mon Jan 5 18:03:30 2009 -0500

    subversion: the BUILD fails with sun-jdk, it cannot find javahl during
    the configure. Since the rc is installed when it is used as a dependency,
    why not use the sun-jdk.rc. That expr did not work here.
    
    I don't know about the j2sdk side of it, not installed here.
---
 devel/subversion/BUILD |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/devel/subversion/BUILD b/devel/subversion/BUILD
index 9177c8a..9a01b2b 100644
--- a/devel/subversion/BUILD
+++ b/devel/subversion/BUILD
@@ -1,7 +1,7 @@
 (
 
   if in_depends $MODULE sun-jdk; then
-    JAVA_HOME=$(expr /usr/lib/jdk*)
+    . /etc/profile.d/sun-jdk.rc
     OPTS+=" --with-jdk=$JAVA_HOME"
     BINDINGS_MAKE+=" javahl"
     BINDINGS_INSTALL+=" install-javahl"


More information about the Lunar-commits mailing list