From: Andrew Gaffney <agaffney@skylineaero.com>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] /etc/make.profile/use.defaults
Date: Wed, 12 May 2004 10:19:54 -0500 [thread overview]
Message-ID: <40A2409A.5000000@skylineaero.com> (raw)
In-Reply-To: <40A23F4A.80400@skylineaero.com>
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
next prev parent reply other threads:[~2004-05-12 15:24 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-12 3:02 [gentoo-portage-dev] building dependency tree Andrew Gaffney
2004-05-12 5:14 ` Pieter Van den Abeele
2004-05-12 6:42 ` Andrew Gaffney
2004-05-12 7:59 ` Pieter Van den Abeele
2004-05-12 14:43 ` Andrew Gaffney
2004-05-12 15:02 ` Pieter Van den Abeele
2004-05-12 15:14 ` [gentoo-portage-dev] /etc/make.profile/use.defaults (was: building dependency tree) Andrew Gaffney
2004-05-12 15:19 ` Andrew Gaffney [this message]
2004-05-12 15:43 ` [gentoo-portage-dev] /etc/make.profile/use.defaults Pieter Van den Abeele
2004-05-12 15:44 ` Andrew Gaffney
2004-05-12 16:03 ` Pieter Van den Abeele
2004-05-12 16:08 ` Andrew Gaffney
2004-05-12 16:33 ` Jason Stubbs
2004-05-12 16:39 ` Andrew Gaffney
2004-05-12 17:28 ` Jason Stubbs
2004-05-12 16:25 ` [gentoo-portage-dev] building dependency tree Jason Stubbs
2004-05-15 4:12 ` Andrew Gaffney
2004-05-15 6:14 ` Jason Stubbs
2004-05-15 6:50 ` Andrew Gaffney
2004-05-15 7:06 ` Jason Stubbs
2004-05-15 15:31 ` Andrew Gaffney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40A2409A.5000000@skylineaero.com \
--to=agaffney@skylineaero.com \
--cc=gentoo-portage-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox