Gentoo Archives: gentoo-dev

From: Ned Ludd <solar@g.o>
To: Jason Stubbs <jstubbs@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Portage Toys
Date: Wed, 06 Oct 2004 23:34:49
Message-Id: 1097105603.22452.11308.camel@simple
In Reply to: Re: [gentoo-dev] Portage Toys by Jason Stubbs
1 On Wed, 2004-10-06 at 18:53, Jason Stubbs wrote:
2 > On Thursday 07 October 2004 06:29, Michael Tindal wrote:
3 > > On Wed, 2004-10-06 at 19:57 +0900, Jason Stubbs wrote:
4 > > > On Wednesday 06 October 2004 12:09, Michael Tindal wrote:
5 > > > > The format is something like
6 > > > > category/pkgname CFLAGS="...";LDFLAGS="...";USE="...";FEATURES="..."
7 > > >
8 > > > Unless you like things not compiling due to missing dependencies, don't
9 > > > use USE in this file. Same deal with ACCEPT_KEYWORDS and anything else
10 > > > that could possibly affect dependencies (which is nothing that I can
11 > > > think of at this stage).
12 > >
13 > > That wasn't really the point of the exercise (USE and the like).
14 > > Portage already has files for that, so using this for that is pointless.
15 > > It was more for CFLAGS and LDFLAGS and such, and the example I gave was
16 > > off the top of my head.
17 >
18 > No problem. I was mostly just pointing it out for the onlookers and to preempt
19 > invalid bug reports. Also worth pointing out is that most FEATURES would not
20 > be honoured as well, as bashrc is only used on the bash side of things
21 > whereas the python side of portage handles most of them.
22
23 Portage learns about FEATURES after it's sourced the ebuild in the
24 depend phase right?
25 If so then it would seem that those functions-FEATURES/USE which have
26 todo with depgraph creation could be exported in the 'depend' phase from
27 a bashrc. Is my logic incorrect?
28
29 >
30 > Regards,
31 > Jason Stubbs
32 >
33 > --
34 > gentoo-dev@g.o mailing list
35 --
36 Ned Ludd <solar@g.o>
37 Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Portage Toys Jason Stubbs <jstubbs@g.o>
Re: [gentoo-dev] Portage Toys Marius Mauch <genone@g.o>