From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DF2E91381F3 for ; Thu, 19 Sep 2013 15:36:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0331AE0B6D; Thu, 19 Sep 2013 15:35:58 +0000 (UTC) Received: from mail-we0-f173.google.com (mail-we0-f173.google.com [74.125.82.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B115AE0B01 for ; Thu, 19 Sep 2013 15:35:56 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id w62so8002114wes.18 for ; Thu, 19 Sep 2013 08:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=YUjEjTcdIdcQU0p8Xfb1FrX5yhv6hdfjSfbjjeNyyuc=; b=hS6i2oRCwJIwzRXF7HcjdNvU1ySPqHmmPf/1p7L7vYfP32V1uIwmMhJV3l3vV7QJAx iondU0OR5jrirC0yWzJ6f17NYS99WYRxeYgkoU/175U8BgoRtTersoZW4P/E11FBoklx 7GW/gXUeaIQNOdMfb+L7Bbmza/Rad6B3XZQl8SbVqd8wkmqUb/BhpWOozOE0o8FQ7w2+ faKDga8R8B6V2JDS0vyDFp2YWd4C6eCmYtcYQy/RNrP2JRT8nLMnLyJXUR4WC0n02fn2 03int8193JDgcPVZLZVk0ITrI8MLUL9LRgUka57lW6P9Or/pgmDoLgjogEpVZyDxTUX9 c8Dg== X-Received: by 10.180.13.210 with SMTP id j18mr12088779wic.51.1379604955071; Thu, 19 Sep 2013 08:35:55 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.194.48.8 with HTTP; Thu, 19 Sep 2013 08:35:34 -0700 (PDT) In-Reply-To: References: From: Wang Xuerui Date: Thu, 19 Sep 2013 23:35:34 +0800 Message-ID: Subject: Re: [gentoo-user] Switching off a long list of USE flags To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: a5160565-f683-450f-8acf-e8173e8f8e18 X-Archives-Hash: 511987edc0da13a173e5e216878ab38a 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 :)