Gentoo Archives: gentoo-user

From: Richard Marz <Richard.marz@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage package.use
Date: Wed, 18 Apr 2007 04:36:03
Message-Id: 1176831120.19322.14.camel@localhost
In Reply to: Re: [gentoo-user] Portage package.use by "Bo Ørsted Andresen"
1 That worked flawlessly. Thank you very much.
2
3
4 On Wed, 2007-04-18 at 05:15 +0200, Bo Ørsted Andresen wrote:
5 > On Tuesday 17 April 2007 17:58:27 Richard Marz wrote:
6 > > It is it possible to glob an entire subdirectory in package.use. I'm
7 > > trying to stop portage from using the doc flag when installing java
8 > > development suites. I tried adding the following to my package.use file:
9 > > dev-java/* -doc
10 > > Then ran `emerge -uD world` and it attempted to download the jdk doc
11 > > file which totally stopped the whole update process half-way because the
12 > > ebuild doesn't support that because of possible licensing issues. Is
13 > > there any globbing allowed in the package.use file.
14 >
15 > Nope. That leaves you two options that I'm aware of:
16 >
17 > 1) Adding all packages currently in dev-java:
18 >
19 > # { echo "# disable doc for all packages in dev-java" && \
20 > cd $(portageq portdir) && find dev-java -mindepth 1 -maxdepth 1 -type d | \
21 > sed 's/$/ -doc/'; } >> /etc/portage/package.use
22 >
23 > 2) Switching to Paludis which does support wildcards (currently only in the -scm
24 > version): http://ciaranm.org/show_post/114
25 >
26 > If you go with 2) make sure to read the Paludis docs and faq at paludis.org...
27 >
28
29 --
30 gentoo-user@g.o mailing list