pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/eclipse: JRE compatibility question; upgrade needed



On Wed, Nov 14, 2012 at 10:19:16PM +0530, Mayuresh wrote:
> I am trying to install devel/eclipse on NetBSD where I have following
> questions:
> 
> 
> 1. Is JRE restricted to one of these as Make file suggests? Would it be
> possible to run this with openjdk?
> 
>  19 PKG_JVMS_ACCEPTED= sun-jdk6 sun-jdk15 sun-jdk14
> 
> I'll probably try adding openjdk in the list. But if there are any known
> compatibility issues for restricting above list in the first place, please
> do share.

Is the following patc ok? (Just added openjdk and openjdk-bin to
JVMS_ACCEPTED. Eclipse seemed to launch fine after this though not sure if
any hidden compatibility issues exist.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/eclipse/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile    31 Oct 2012 11:16:54 -0000      1.30
+++ Makefile    14 Nov 2012 17:06:19 -0000
@@ -16,7 +16,7 @@
 DEPENDS+=      apache-ant>=1.4.1:../../devel/apache-ant
 USE_TOOLS+=    unzip zip
 
-PKG_JVMS_ACCEPTED= sun-jdk6 sun-jdk15 sun-jdk14
+PKG_JVMS_ACCEPTED= sun-jdk6 sun-jdk15 sun-jdk14 openjdk7-bin openjdk7
 
 MAKE_ENV+=     JAVA_HOME=${PKG_JAVA_HOME:Q}
 MAKE_ENV+=     ANT_HOME=${PREFIX:Q}


Shall try to upgrade eclipse version now.

Mayuresh


Home | Main Index | Thread Index | Old Index