From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6165 invoked from network); 12 May 2004 15:24:29 +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:24:29 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1BNvav-0000Pf-Fn for arch-gentoo-portage-dev@lists.gentoo.org; Wed, 12 May 2004 15:24:29 +0000 Received: (qmail 26279 invoked by uid 50004); 12 May 2004 15:24:28 +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 25531 invoked from network); 12 May 2004 15:24:28 +0000 Message-ID: <40A2409A.5000000@skylineaero.com> Date: Wed, 12 May 2004 10:19:54 -0500 From: Andrew Gaffney User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7rc1) Gecko/20040503 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org 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> In-Reply-To: <40A23F4A.80400@skylineaero.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-portage-dev] /etc/make.profile/use.defaults X-Archives-Salt: caaf74b2-dc7d-4146-be8a-a4460093bf0e X-Archives-Hash: bbd2b218cc086ec0e8575928483d3c90 Andrew Gaffney wrote: > Pieter Van den Abeele wrote: > >> >> On 12 May 2004, at 16:43, Andrew Gaffney wrote: >> >>> Pieter Van den Abeele wrote: >>> >>>> On 12 May 2004, at 08:42, Andrew Gaffney wrote: >>>> >>>>> agaffney@kagome dev $ ./portage.pl x11-base/xfree | sort -u >>>>> x11-base/xfree-4.3.0-r5 >>>>> x11-misc/ttmkfdir-3.0.9-r1 >>>> >>>> >>>> ttmkfdir is an xfree compile time dependency, so it has to be >>>> installed before xfree and not after :-) >>> >>> >>> >>> I know. Like I said, my program currently only prints dependencies >>> instead of tracking them in an array or hash, so it can't eliminate >>> duplicates. Because of this, I ran the output through 'sort -u' which >>> put them in alphabetical order instead of dependency order. >> >> >> >> ok, that's what happens when you write email late in the morning :-) > > > 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? -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548 -- gentoo-portage-dev@gentoo.org mailing list