Date: Sun, 03 Jun 2001 00:11:52 +0200 From: Palle Girgensohn <girgen@partitur.se> To: Ernst de Haan <ernst@jollem.com> Cc: Hervey Wilson <herveyw@dynamic-cast.com>, java@FreeBSD.ORG Subject: Re: JDK ports revisited Message-ID: <3B1964A8.3B397821@partitur.se> References: <20010601104331.A1730@c187104187.telekabel.chello.nl> <020301c0eb82$9ce25b90$0101a8c0@chillipepper> <20010602184137.A11537@c187104187.telekabel.chello.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Ernst de Haan wrote: > > Hervey, > > > This is the area where I'd like to see some improvements - assuming of > > course I haven't missed something during my experimentation. Essentially, it > > appears that many of the Java ports (for example, Tomcat) have dependencies > > on the native jdk1.1.8 port in their Makefile although these ports work fine > > on the other JDK versions. I prefer to use the Linux JDK 1.3 port for the > > moment and find myself having to doctor these Makefiles in order get things > > to install. Same here... > > Is there a way this can be solved with a more generic dependency or did I > > just miss something obvious ? > > This is where javavmwrapper comes in. Any Java port that needs a Java VM > version 1.1 or higher should depend on javavmwrapper, instead of on java/jdk > or so. If you give me a (partial) list of the ports that expose the problem > you mention, then I'll see what I can do. I can probably fix them within a few > days. I would like to see some centralized way to depend on java, and optionally add a least version. For the databases/postgresql7 port, which I maintain, I had to do some rather strange hackish things to determine which jdk that should be used (see /usr/ports/databases/postgres1l7/scripts/configure.postgresql, line 56ff). A USE_JAVA widget centrally defined in /usr/ports/Mk/bsd.ports.mk would be the ultimate solution, IMO. Also, I can't see that javavmwrapper whould really install *any* JDK if there is none installed already, and hence it is not enough for a port to depend on the javavmwrapper; no jdk would get installed on a clean system, and the build would fail... /Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B1964A8.3B397821>