Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New java-config package with no java installed?
Date: Sun, 25 Jun 2006 05:39:35
Message-Id: 449E1BCD.20501@mid.email-server.info
In Reply to: Re: [gentoo-user] New java-config package with no java installed? by "Bo Ørsted Andresen"
1 Bo Ørsted Andresen wrote:
2 > On Sunday 25 June 2006 02:06, Mick wrote:
3 >> [nomerge ] net-ftp/kftpgrabber-0.6.0 USE="arts -debug -xinerama"
4 >> [nomerge ] kde-base/kdelibs-3.5.2-r6 USE="acl alsa arts cups
5 >> spell ssl tiff -debug -doc -jpeg2k -kdeenablefinal
6 >> -kdehiddenvisibility -kerberos -legacyssl -openexr -xinerama
7 >> -zeroconf"
8 >> [nomerge ] net-dns/libidn-0.5.15 USE="nls -doc -emacs -java"
9 >> [ebuild N ] dev-java/java-config-1.2.11-r1 15 kB
10 >
11 > This tells you that kftpgrabber depends on kdelibs which depends on libidn
12 > which depends on java-config. All of those are mandatory dependencies so
13 > there is not much you can do about it unless you are willing to look into
14 > development... But java-config is not java so it shouldn't be a big deal
15 > either.
16
17 On the other hand, he has set USE=-java for libidn (at least), so
18 why is it pulling in java-config? It doesn't make much sense, does
19 it? In the libidn ebuild, I find:
20
21 inherit java-pkg
22
23 And that's what pulling in java-config. Is there a way to wrap the
24 inherit around some "if" statements, so that "inherit java-pkg" is
25 only "executed" when "java" is set?
26
27 Alexander Skwar
28 --
29 It now costs more to amuse a child than it once did to educate his father.
30 --
31 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] New java-config package with no java installed? Rumen Yotov <rumen@××××××.org>