Gentoo Archives: gentoo-java

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-java@l.g.o
Subject: [gentoo-java] Support for use flag based selection of jdk/jre
Date: Fri, 01 Dec 2006 21:20:53
Message-Id: 45709C78.4030406@gentoo.org
1 I just finished writing patches that should enable you to use the
2 following DEPEND:
3
4 C_DEP="
5 dev-java/sun-jaf
6 !java5? ( dev-libs/cyrus-sasl )"
7 DEPEND="
8 java5? ( >=virtual/jdk-1.5 )
9 !java5? ( >=virtual/jdk-1.4 )
10 dev-java/ant-core
11 ${C_DEP}
12 source? ( app-arch/zip )"
13 RDEPEND="
14 java5? ( >=virtual/jre-1.5 )
15 !java5? ( >=virtual/jre-1.4 )
16 ${C_DEP}"
17
18 http://dev.gentoo.org/~betelgeuse/patches/java-util-2.eclass-use.patch
19 http://dev.gentoo.org/~betelgeuse/patches/versionmanager-use-flags.patch
20
21 Of course we could do the parsing using our own code instead of using
22 portage directly. IMHO it would be the best to have some kind of API
23 ebuilds could use against the package manager to do these kinds of
24 things. It's a bit hackish so I don't know yet if I will commit these.
25
26 Regards,
27 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature