Re: [RFC] support for optional dependencies in package.env

Vlastimil Babka <[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Petteri Räty wrote:
> Vlastimil Babka kirjoitti:
>> https://bugs.gentoo.org/show_bug.cgi?id=176182
>>
>> Useful for jdbc providers (or my bsf attempt) etc. Package doesn't
>> depend (in ebuild DEPEND nor RDEPEND nor PDEPEND) on another but can use
>> if it it's on classpath. So we add new
>> java-pkg_register-optional-dependency to eclass, which will record given
>> package to OPTIONAL_DEPEND in package.env. gjl will process it if it's
>> installed, and ignore if not (no errors about missing package).
>>

Commited with Petteri's suggestions. Remember you should RDEPEND on
>=java-config-2.0.33-r1 in ebuilds using
java-pkg_register-optional-dependency if you really want it to work :)
- --
Vlastimil Babka (Caster)
Gentoo/Java
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGWy6otbrAj05h3oQRAlc0AJ9dGXsOCXXMg2uBskxiCsWNgd4SsACfSgfy
BBV5Mk41IGd6BeCKdO90RR8=
=AHs3
-----END PGP SIGNATURE-----
-- 
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.