[ports-i386@bento.FreeBSD.org: jakarta-commons-dbcp-1.1 failed on i386 4]

Greg Lewis glewis at eyesbeyond.com
Fri Apr 9 16:07:04 PDT 2004


On Fri, Apr 09, 2004 at 08:48:00AM +0200, Herve Quiroz wrote:
> On Thu, Apr 08, 2004 at 05:50:35PM -0700, Kris Kennaway wrote:
> > ===>   jakarta-commons-dbcp-1.1 depends on file: /usr/local/bin/ant - found
> > ===>   jakarta-commons-dbcp-1.1 depends on file: /usr/local/share/java/classes/commons-pool.jar - found
> > ===>   jakarta-commons-dbcp-1.1 depends on file: /usr/local/diablo-jdk1.3.1/bin/java - found
> 
> So the port is built with JDK 1.3...

Yes...you made that the default in the new bsd.java.mk :).  Maybe we should
revert to 1.4 being the default?

> ..and javax.sql.* is a new feature from JDK 1.4
> 
> Which advocates (again) for binary Java ports. ;)
> 
> Anyway, I can send a fix for that if you want but we have two options
> here:
> 
> - Update Makefile to enforce the use of JDK 1.4 (JAVA_VERSION=1.4+)
>   which is bad as JDK 1.2/1.3 users should be able to use it anyway.
> - Switch to a binary port (NO_BUILD=yes) which is bad for many ethic
>   reasons (debated in many occasions by many people).
> 
> Up to the maintainer...

Option 3.  Specify 1.4 as a BUILD_DEPENDS and 1.4 as a RUN_DEPENDS.  Can
we do that with the new bsd.java.mk?  Is that a reasonable thing to do?

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the freebsd-java mailing list