2013/9/19 Wang Xuerui > 2013/9/19 gevisz : > > I would like to build sane-backend only for one specific scanner. > > > > However, there are a huge lot of different USE flags for other scanners > > that are already switched on by default. > > > > Is there any easy way to switch them off? > > > > Something like: > > > > media-gfx/sane-backends -sane_backends* sane_backends_hp > > > > Exactly that way does not work, but may be something like that... > > > > ...instead of directly switching off every one of them. > > According to the Package Manager Specification, the variable should > not be incremental, i.e. any value set would override *any* defaults > or previously set values. So just do SANE_BACKENDS="xxx" in your > make.conf, same as what you'd do for VIDEO_CARDS and the like. > > Hope it helps :) > Yes, SANE_BACKENDS="hp" works, SANE_BACKENDS="+hp3500" does not. Thank you for all who replied.