Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 15:03:27 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Alexey Zelkin <phantom@FreeBSD.org.ua>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Openoffice-1.1 depends on 5 different jdks
Message-ID:  <20040324230327.GA56450@xor.obsecurity.org>
In-Reply-To: <20040324205331.GA6028@phantom.cris.net>
References:  <20040324194155.GA53330@xor.obsecurity.org> <20040324205331.GA6028@phantom.cris.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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