From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8387 invoked from network); 12 May 2004 15:43:44 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 12 May 2004 15:43:44 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1BNvtX-0006Nn-GG for arch-gentoo-portage-dev@lists.gentoo.org; Wed, 12 May 2004 15:43:43 +0000 Received: (qmail 844 invoked by uid 50004); 12 May 2004 15:43:42 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 17469 invoked from network); 12 May 2004 15:43:42 +0000 In-Reply-To: <40A2409A.5000000@skylineaero.com> References: <40A193B5.9080206@skylineaero.com> <3F00C422-A3D3-11D8-9EB9-0003938E7E46@gentoo.org> <40A1C773.1030909@skylineaero.com> <49406FBC-A3EA-11D8-A93B-0003938E7E46@gentoo.org> <40A23822.1080702@skylineaero.com> <6039771E-A425-11D8-9922-0003938E7E46@gentoo.org> <40A23F4A.80400@skylineaero.com> <40A2409A.5000000@skylineaero.com> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <24B267F2-A42B-11D8-9922-0003938E7E46@gentoo.org> Content-Transfer-Encoding: 7bit Cc: Pieter Van den Abeele From: Pieter Van den Abeele Date: Wed, 12 May 2004 17:43:41 +0200 To: gentoo-portage-dev@lists.gentoo.org X-Mailer: Apple Mail (2.613) Subject: Re: [gentoo-portage-dev] /etc/make.profile/use.defaults X-Archives-Salt: 3fb816d1-6ea1-4c14-a10e-e24657f46efe X-Archives-Hash: 478daaf34858dbe0a6851dfb21445f5a On 12 May 2004, at 17:19, Andrew Gaffney wrote: >> I've come across another issue. 'emerge -epvt xfree' shows that >> python wants to install tcl and tk because of the 'tcltk' USE flag >> where my program doesn't. That USE flag is not defined in my >> /etc/make.profile/make.defaults or /etc/make.conf. 'ufed' shows that >> it is defined in /etc/make.profile/use.defaults. I've never come >> across this file before. What does it do? > > Nevermind. From 'man portage': > > use.defaults > Here we DO NOT define the default USE flags, but the > so-called > auto-USE flags. This rather unknown portage feature activates a > USE > flag if a specific package is installed and the flag was not > explicitly > deactivated. This file contains the associations between USE > flags and > packages that trigger the auto-USE feature. > > In other words, if we never put "sdl" or "-sdl" into our USE, but > we have > media-libs/libsdl emerged, then portage automagically sticks "sdl" > into our > USE for us. > > Format: > - comments begin with # > - one USE flag per line with a list of DEPEND atom bases > > Example: > # media-libs/libsdl will activate "sdl" > sdl media-libs/libsdl > # activate tcltk only if we have both > # dev-lang/tcl and dev-lang/tk > tcltk dev-lang/tcl dev-lang/tk > > That makes sense, but shouldn't Portage not use these when operating > with the '--emptytree' flag since it pretends that nothing is > installed? I think that with 'installed' in this case they also include 'scheduled for installation' (although I'm not 100% sure). For instance If portage schedules tcl and tk in an emptytree, then the tcltk useflag will be enabled for packages having IUSE="tcltk" that are added to the schedule afterwards. Pieter -- gentoo-portage-dev@gentoo.org mailing list