Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Switching off a long list of USE flags
Date: Thu, 19 Sep 2013 17:36:30
Message-Id: CA+t6X7fMSMYhpNT6Xu8Z4PYuNHJnbjk7Q6aFEQSuvYHNox4Oyw@mail.gmail.com
In Reply to: Re: [gentoo-user] Switching off a long list of USE flags by Wang Xuerui
1 2013/9/19 Wang Xuerui <idontknw.wang@×××××.com>
2
3 > 2013/9/19 gevisz <gevisz@×××××.com>:
4 > > I would like to build sane-backend only for one specific scanner.
5 > >
6 > > However, there are a huge lot of different USE flags for other scanners
7 > > that are already switched on by default.
8 > >
9 > > Is there any easy way to switch them off?
10 > >
11 > > Something like:
12 > >
13 > > media-gfx/sane-backends -sane_backends* sane_backends_hp
14 > >
15 > > Exactly that way does not work, but may be something like that...
16 > >
17 > > ...instead of directly switching off every one of them.
18 >
19 > According to the Package Manager Specification, the variable should
20 > not be incremental, i.e. any value set would override *any* defaults
21 > or previously set values. So just do SANE_BACKENDS="xxx" in your
22 > make.conf, same as what you'd do for VIDEO_CARDS and the like.
23 >
24 > Hope it helps :)
25 >
26
27 Yes,
28
29 SANE_BACKENDS="hp"
30
31 works,
32
33 SANE_BACKENDS="+hp3500"
34
35 does not.
36
37 Thank you for all who replied.