wrong JAVA_VENDOR

Rick C. Petty rick-freebsd2008 at kiwi-computer.com
Tue Aug 26 19:40:24 UTC 2008


If you install java/diablo-jdk16 instead of java/jdk16, the JAVA_VENDOR is
"freebsd".  The java/eclipse Makefile sets JAVA_VENDOR to "bsdjava".  Why
is this?  This makes it so that you cannot run eclipse with only
diablo-jdk16 installed.  Why is it even being set?  Isn't it enough that we
use JAVA_OS=native ???  I suggest the following patch:

--- ports/java/eclipse/Makefile.orig    2008-08-14 19:17:21.000000000 -0500
+++ ports/java/eclipse/Makefile 2008-08-26 19:13:03.000000000 -0500
@@ -60,10 +60,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700000
-JAVA_VENDOR=   bsdjava
-.endif
-
 .if !defined(WITHOUT_MOZILLA)
 MAKE_MOZILLA=  make_mozilla
 BROWSER=       ${GECKO}


-- Rick C. Petty


More information about the freebsd-eclipse mailing list