From owner-freebsd-java@FreeBSD.ORG Wed Mar 24 15:03:30 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F39916A4CE; Wed, 24 Mar 2004 15:03:30 -0800 (PST) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B10343D39; Wed, 24 Mar 2004 15:03:30 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (73b66014a6c96033b08cf7555cea38b0@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i2ON3Ssu005953; Wed, 24 Mar 2004 15:03:28 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A454651BB5; Wed, 24 Mar 2004 15:03:27 -0800 (PST) Date: Wed, 24 Mar 2004 15:03:27 -0800 From: Kris Kennaway To: Alexey Zelkin Message-ID: <20040324230327.GA56450@xor.obsecurity.org> References: <20040324194155.GA53330@xor.obsecurity.org> <20040324205331.GA6028@phantom.cris.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20040324205331.GA6028@phantom.cris.net> User-Agent: Mutt/1.4.2.1i cc: java@freebsd.org cc: openoffice@freebsd.org cc: Kris Kennaway Subject: Re: Openoffice-1.1 depends on 5 different jdks X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 23:03:30 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 24, 2004 at 10:53:31PM +0200, Alexey Zelkin wrote: > hi, >=20 > On my work machine this list is limited to >=20 > /usr/ports/java/jdk14 > /usr/ports/java/linux-sun-jdk14 >=20 > jdk14 is listed as build dependancy in openoffice itself. and linux-sun-= jdk14 > is used as default build dependancy for jdk14. The dependency lists are influenced by what ports you have on your local system. If you want to simulate what will happen on a clean system, first set LOCALBASE, X11BASE and PREFIX to dummy values (e.g. /nonexistent). Actually, looking into this a bit more I think there's a bug in 'make all-depends-list' that is (incorrectly) recursively collecting build-depends entries for dependent ports. The other jdks are showing up because e.g. openoffice BUILD_DEPENDS on apache-ant apache-ant BUILD_DEPENDS on jdk12 by default jdk12 BUILD_DEPENDS on jdk11 and linux-blackdown-jdk12 etc. This does hilight the bsd.java.mk problem that old versions of the jdk are used by default by the USE_JAVA=3D1.2+ construction, which defaults to the oldest possible jdk (1.2) instead of the newest stable version. Kris --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYhO/Wry0BWjoQKURAnHmAKD5cvybf9OdV13a7cvtsrdqC7Sd8QCfTO97 KHeTNnd/QhLySfjO/pL7rfg= =NzDu -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--