Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Different build options for specific packages
Date: Sat, 11 Feb 2017 09:39:55
Message-Id: 4062d4a6-47e4-9a92-0796-f90fa855f843@gmail.com
In Reply to: Re: [gentoo-user] Different build options for specific packages by Mick
1 Mick wrote:
2 >
3 > This is how I have configured per package FEATURES here and it seems to work.
4 > For example configuring ccache for large packages which take days to emerge on
5 > an old PC:
6 >
7 > # cat /etc/portage/env/ccache.conf
8 > FEATURES="ccache"
9 >
10 > Now I need to point particular package(s) to it:
11 >
12 > # cat /etc/portage/package.env
13 > app-office/libreoffice ccache.conf
14 > www-client/firefox ccache.conf
15 > www-client/chromium ram_limit.conf ccache.conf
16 >
17 > If I want more packages to use ccache.conf I add their name/version in the
18 > /etc/portage/package.env file.
19 >
20
21 I just tried copying your way, except for the setting I want, and it
22 didn't work. I'm wondering if it just won't do this particular setting
23 for some reason.
24
25 I've tried having package.env as a file and as a directory. It didn't
26 like either way. Either it can't do this or I'm missing something
27 really simple here.
28
29 Thanks.
30
31 Dale
32
33 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Different build options for specific packages Johannes Rosenberger <gentoo@×××××.eu>