Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] "active" gcc/kernel/... dependencies (was: tr1 dependencies)
Date: Tue, 30 Jan 2007 15:42:55
Message-Id: 20070130164951.1b0215d9.genone@gentoo.org
In Reply to: Re: [gentoo-dev] tr1 dependencies by Matthias Langer
1 On Tue, 30 Jan 2007 14:49:48 +0100
2 Matthias Langer <mlangc@×××.at> wrote:
3
4 > isn't it possible to check the version of gcc that is in _use_ in an
5 > ebuild, like i can do in a configure script? if so, one could provide a
6 > "old-gcc" use flag that must be enabled when trying to build with
7 > <gcc-4.1.0 (that actually pulls in boost etc.) and must not be enabled
8 > when using >=gcc-4.1.0 ...
9
10 Sure you can check for it, but not at dependency calculation time. A useflag won't help there, would be the same as a || dependency, just worse.
11
12 Marius
13 --
14 gentoo-dev@g.o mailing list

Replies