Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2004 17:06:41 -0600
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        java@FreeBSD.org
Cc:        Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Subject:   Re: [ports-i386@bento.FreeBSD.org: jakarta-commons-dbcp-1.1 failed on i386 4]
Message-ID:  <20040409230641.GE8348@misty.eyesbeyond.com>
In-Reply-To: <20040409064800.GB43513@arabica.esil.univ-mrs.fr>
References:  <20040409005035.GY42056@xor.obsecurity.org> <20040409064800.GB43513@arabica.esil.univ-mrs.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



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