public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Kohl <citizen428@cargal.org>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Per package use flags?
Date: Mon, 30 Jun 2003 18:58:55 +0800	[thread overview]
Message-ID: <20030630185855.76e14ea4.citizen428@cargal.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]

1. What?

Ok, I've found my set of useflags, and acutally I'm pretty happy with
it. But there are some packages which I *always* compile a little
different then the rest of my system (e.g. and don't need every feature
and his grandmother for my mod_php test install on my laptop). So I do
have to 

#USE="-foo bar" emerge foo-bar

Works, but is not really that nice, especially when you're like me and
forget things like this once in a while.

2. Proposed solution:

A file /etc/portage/custom.use (or however you want to call it), that is
somewhat similar to package.mask (or /etc/portage/package.mask for that
matter as it overrides the standard settings), which contains one entry
per line in the form of:

foo-bar/foobar "-foo bar"

So when I emerge a package and portage finds an entry for it in this
file, the useflags will be put in the environment (USE_ORDER =
env:conf:auto:defaults), like the statement 

#USE="..." emerge ... 

would have done.

3. You lazy...

Yeah, I know, all talk no code, but I'm fairly with Python, and after my
first look Portage seemed a little to complicated as a beginner's task
(at least for me). Although at the moment I have no access to a test box
and don't want to fry my main system...

Comments?
Michael

-- 
www.cargal.org 
GnuPG-key-ID: 0x90CA09E3
Jabber-ID: citizen428 [at] cargal [dot] org
Registered Linux User #278726

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-06-30 10:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-30 10:58 Michael Kohl [this message]
2003-06-30 11:03 ` [gentoo-dev] Per package use flags? Patrick Kursawe
2003-06-30 11:12   ` Michael Kohl
2003-06-30 11:24   ` Georgi Georgiev
2003-06-30 11:34 ` Panard
2003-06-30 11:39   ` Michael Kohl
2003-06-30 12:04 ` Thomas de Grenier de Latour
2003-06-30 12:55 ` Alastair Tse
2003-06-30 13:04   ` Michael Kohl
2003-06-30 13:49 ` Max Kalika
2003-06-30 15:27 ` Svyatogor
2003-06-30 11:53   ` Michael Kohl
2003-06-30 11:55   ` Patrick Kursawe

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=20030630185855.76e14ea4.citizen428@cargal.org \
    --to=citizen428@cargal.org \
    --cc=gentoo-dev@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