Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2008 14:13:41 -0500
From:      "Rick C. Petty" <rick-freebsd2008@kiwi-computer.com>
To:        freebsd-eclipse@freebsd.org
Subject:   wrong JAVA_VENDOR
Message-ID:  <20080826191341.GA37568@keira.kiwi-computer.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080826191341.GA37568>