On 2008/11/12 23:49, Cedric Brisseau wrote: > On Wed, Nov 12, 2008 at 11:30 PM, Stuart Henderson <[EMAIL PROTECTED]> wrote: > > On 2008/11/12 23:22, Cedric Brisseau wrote: > >> Hi all, > >> > >> I just try to build jdk 1.6 on my fresh -current system, and the > >> pkg_tools are telling me that jdk 1.6 depends on jdk 1.5. > >> > >> In jdk/1.6/pkg/DESCR-main it's specified that jdk 1.6 can use kaffe. > > > > without native_bootstrap, 1.5 uses kaffe to bootstrap, 1.6 uses 1.5, > > and 1.7 uses 1.6. > > > > > > In /usr/ports/devel/jdk/1.6/pkg/DESCR-main I have : > > native_bootstrap > Bootstrap the jdk using a previously built and installed > devel/jdk/1.6 package. NOTE: if this flavor is used without a > previously installed devel/jdk/1.6 package, the port will > just build the jdk with default (kaffe) bootstrap and stop. > > Does it means that to build 1.6 the pkg_tools will build 1.5 with > kaffe to bootstrap and then build 1.6 ? The sentence in DESCR does not > seem to indicate that.
It was probably just copied from 1.5/pkg/DESCR-main. Makefile is the definitive reference. easily fixed, but I'm not sure it's worth bumping PKGNAME for these particular packages unless there's something else to ride along with it.. Index: Makefile =================================================================== RCS file: /cvs/ports/devel/jdk/1.6/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile 22 Oct 2008 16:02:24 -0000 1.6 +++ Makefile 12 Nov 2008 22:59:04 -0000 @@ -7,8 +7,8 @@ COMMENT-main= Java2(TM) Standard Editio COMMENT-jre= Java2(TM) Standard Edition Runtime Environment v${V} V= 1.6.0.03 PKGNAME= jdk-${V} -PKGNAME-main= jdk-${V}p3 -PKGNAME-jre= jre-${V}p3 +PKGNAME-main= jdk-${V}p4 +PKGNAME-jre= jre-${V}p4 CATEGORIES= devel/jdk java Index: pkg/DESCR-jre =================================================================== RCS file: /cvs/ports/devel/jdk/1.6/pkg/DESCR-jre,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR-jre --- pkg/DESCR-jre 19 Nov 2007 03:19:44 -0000 1.1.1.1 +++ pkg/DESCR-jre 12 Nov 2008 22:59:04 -0000 @@ -13,7 +13,7 @@ Flavors: Bootstrap the jdk using a previously built and installed devel/jdk/1.6 package. NOTE: if this flavor is used without a previously installed devel/jdk/1.6 package, the port will - just build the jdk with default (kaffe) bootstrap and stop. + just build the jdk with default (devel/jdk/1.5) bootstrap and stop. no_web The Mozilla plugin and Java Web Start (javaws) are not built. Index: pkg/DESCR-main =================================================================== RCS file: /cvs/ports/devel/jdk/1.6/pkg/DESCR-main,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR-main --- pkg/DESCR-main 19 Nov 2007 03:19:44 -0000 1.1.1.1 +++ pkg/DESCR-main 12 Nov 2008 22:59:04 -0000 @@ -10,7 +10,7 @@ Flavors: Bootstrap the jdk using a previously built and installed devel/jdk/1.6 package. NOTE: if this flavor is used without a previously installed devel/jdk/1.6 package, the port will - just build the jdk with default (kaffe) bootstrap and stop. + just build the jdk with default (devel/jdk/1.5) bootstrap and stop. no_web The Mozilla plugin and Java Web Start (javaws) are not built.