Gentoo Archives: gentoo-java

From: Vlastimil Babka <caster@g.o>
To: Gentoo Java <gentoo-java@l.g.o>
Subject: Re: [gentoo-java] [RFC] support for optional dependencies in package.env
Date: Mon, 28 May 2007 19:36:25
Message-Id: 465B2EB2.8000908@gentoo.org
In Reply to: Re: [gentoo-java] [RFC] support for optional dependencies in package.env by "Petteri Räty"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Petteri Räty wrote:
5 > Vlastimil Babka kirjoitti:
6 >> https://bugs.gentoo.org/show_bug.cgi?id=176182
7 >>
8 >> Useful for jdbc providers (or my bsf attempt) etc. Package doesn't
9 >> depend (in ebuild DEPEND nor RDEPEND nor PDEPEND) on another but can use
10 >> if it it's on classpath. So we add new
11 >> java-pkg_register-optional-dependency to eclass, which will record given
12 >> package to OPTIONAL_DEPEND in package.env. gjl will process it if it's
13 >> installed, and ignore if not (no errors about missing package).
14 >>
15
16 Commited with Petteri's suggestions. Remember you should RDEPEND on
17 >=java-config-2.0.33-r1 in ebuilds using
18 java-pkg_register-optional-dependency if you really want it to work :)
19 - --
20 Vlastimil Babka (Caster)
21 Gentoo/Java
22 -----BEGIN PGP SIGNATURE-----
23 Version: GnuPG v1.4.7 (GNU/Linux)
24 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
25
26 iD8DBQFGWy6otbrAj05h3oQRAlc0AJ9dGXsOCXXMg2uBskxiCsWNgd4SsACfSgfy
27 BBV5Mk41IGd6BeCKdO90RR8=
28 =AHs3
29 -----END PGP SIGNATURE-----
30 --
31 gentoo-java@g.o mailing list