Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Aug 2007 16:59:09 -0400
From:      Robert Noland <rnoland@2hip.net>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ports@FreeBSD.org, RW <fbsd06@mlists.homeunix.com>, glewis@FreeBSD.org
Subject:   Re: Portmaster and Portmanager problem with jdk15
Message-ID:  <1186520349.1257.58.camel@rnoland-ibm.acs.internap.com>
In-Reply-To: <46B8D605.2060008@FreeBSD.org>
References:  <20070807205138.6c5759d6@gumby.homeunix.com.> <46B8D605.2060008@FreeBSD.org>

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

--=-NoNvTBpl9zwzni3CDFjq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2007-08-07 at 13:28 -0700, Doug Barton wrote:
> RW wrote:
> > Both Portmaster and Portmanager (I haven't tried Portupgrade) install
> > java/linux-sun-jdk15 on an upgrade of java/jdk15. If I upgrade
> > jdk15 manually it isn't built, so it must be done by the tools.
> >=20
> > The way the jdk15 makefile works is that it looks for the location
> > of an existing jdk installation for bootstrapping and sets
> > BOOTSTRAPJDKDIR accordingly. We then have:
> >=20
> > # if no valid jdk found, set dependency
> > .if !defined(BOOTSTRAPJDKDIR)
> > BOOTSTRAPJDKDIR?=3D${LOCALBASE}/linux-sun-jdk${SUN_LINUX_JDK_VERSION}=20
> > .endif
> > BUILD_DEPENDS+=3D${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/linux-su=
n-jdk15
> >=20
> >=20
> > I don't know why this causes the build-tools to install
> > linux-sun-jdk15, but simply moving the BUILD_DEPENDS+=3D line inside th=
e
> > if-endif block, seems to fix the problem. That line is only needed if
> > no jdk is present.
>=20
> Your analysis sounds right.

Almost, doing this will remove the dependency on linux-sun-jdk15 if
another bootstrap is installed, but it won't add one for the installed
bootstrap.  Currently, it will always have a dependency on
linux-sun-jdk15 even if another bootstrap jdk is installed.  jdk14 also
has this issue.

robert.

> Doug
>=20

--=-NoNvTBpl9zwzni3CDFjq
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGuN0XM4TrQ4qfROMRAiGIAJ9PFyuUEfV7WPJENqeZNP5qybdvKgCfWNxr
GU0A4myM8GEUnSbq49S7ewE=
=0Tz1
-----END PGP SIGNATURE-----

--=-NoNvTBpl9zwzni3CDFjq--




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