Jon Severinsson kirjoitti: > Dear Gentoo/Java team > > I recently noticed that sun-jdk-1.5 RDEPEND on =java-config-1.3*, which > I found quite odd, considering that jdk-1.5 isn't compatible with > java-config-1. > > Digging a bit deeper I found that the problem is in java-vm-2.eclass, > witch doesn't consider JAVA_SUPPORTS_GENERATION_1 when it defines DEPEND > and RDEPEND. (It does in the rest of the eclass). > > With the attached patch it does, and the end result works just fine on > both mixed generation systems, and generation 2 only systems, in the > first case with both java-config-1 and java-config-2, and the second > with only java-config-2. > > Please consider adding it to the tree (so I don't have to do it myself > after every emerge --sync on my "pure" java 1.5 / generation 2 system). > > Regards > - Jonno > > P.S. To get a pure java 1.5 / generation 2 system you'll have to get > creative in packages.keywords, but it is certainly possible. I'm > currently doing it on one system, where HD space is at a premium, and > two VM is overkill just to run tomcat. While java-config-1 isn't exactly > a space killer, it's the principle of the thing. After working hard on > getting rid of generation-1 I still can't get rid of this last piece. Attached patch is a bit cleaner. Yeah, I think we can add something like this. Regards, Petteri