Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Switching off a long list of USE flags gevisz <gevisz@×××××.com>