From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How do I enable package specific FEATURES and CFLAGS?
Date: Sat, 14 Apr 2007 16:36:16 +0200 [thread overview]
Message-ID: <200704141636.19872.bo.andresen@zlin.dk> (raw)
In-Reply-To: <4620D883.9010203@googlemail.com>
[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]
On Saturday 14 April 2007 15:34:59 Daniel Pielmeier wrote:
> > # mkdir -p /etc/portage/env/mail-client
> >
> > # CAT << END > /etc/portage/env/mail-client/evolution
> > CFLAGS="-march=k8 -O1 -ggdb -pipe"
> > FEATURES="$FEATURES splitdebug"
> > END
> >
> > Likewise for gnome-extra/evolution-data-server.
>
> I think here is some clarification needed, at least for me!
> Is this functionality now implemented in portage or do need the
> third-party-tools like [...]
Sort of no to both actually..
> And if it is implemented in portage do i need a /etc/portage/bashrc file
> or just the env folder with my paket specific settings in the
> category/app structure?
It works because of [1] which means that as long as you are using a profile
that inherit from the base profile (all supported profiles do) you don't need
to add anything to /etc/portage/bashrc.
Functionality wise it is in no way different from putting a case construct like:
case "${CATEGORY}/${PN}" in
mail-client/evolution | gnome-extra/evolution-data-server )
CFLAGS="-march=k8 -O1 -ggdb -pipe"
FEATURES="$FEATURES splitdebug"
;;
esac
in /etc/portage/bashrc.
This also means that not all FEATURES set there are going to be respected.
Only the ones that are read in bash code by portage. That does, however,
include splitdebug.
[1] http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/profile.bashrc?rev=1.1&view=markup
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-04-14 14:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-14 11:28 [gentoo-user] How do I enable package specific FEATURES and CFLAGS? Jules Colding
2007-04-14 11:53 ` Elias Probst
2007-04-14 12:08 ` Bo Ørsted Andresen
2007-04-14 12:13 ` Bo Ørsted Andresen
2007-04-14 12:22 ` Jules Colding
2007-04-14 13:34 ` Daniel Pielmeier
2007-04-14 14:36 ` Bo Ørsted Andresen [this message]
2007-04-14 14:56 ` Daniel Pielmeier
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=200704141636.19872.bo.andresen@zlin.dk \
--to=bo.andresen@zlin.dk \
--cc=gentoo-user@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