From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ic64a-00014J-VG for garchives@archives.gentoo.org; Sun, 30 Sep 2007 21:11:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l8UL1pTS025128; Sun, 30 Sep 2007 21:01:51 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l8UKxigi021251 for ; Sun, 30 Sep 2007 20:59:44 GMT Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 0FC2065984; Sun, 30 Sep 2007 20:59:44 +0000 (UTC) Date: Sun, 30 Sep 2007 13:59:42 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org, mrness@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in mail-filter/dspam: ChangeLog dspam-3.8.0-r7.ebuild Message-ID: <20070930205942.GI28813@supernova> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 4402d511-d766-43f7-a6fb-5b05bb1a604a X-Archives-Hash: 7df4bde70bb18af645715ce8eb546f9a On 11:30 Sun 30 Sep , Alin Nastac (mrness) wrote: > 1.1 mail-filter/dspam/dspam-3.8.0-r7.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dspam/dspam-3.8.0-r7.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dspam/dspam-3.8.0-r7.ebuild?rev=1.1&content-type=text/plain > use large-domain && myconf="${myconf} --enable-large-scale" || \ > myconf="${myconf} --enable-domain-scale" > > use user-homedirs && myconf="${myconf} --enable-homedir" > > use debug && myconf="${myconf} --enable-debug --enable-bnr-debug" > > if use virtual-users ; then > if use mysql || use postgres ; then > myconf="${myconf} --enable-virtual-users" > fi > fi > > if use mysql || use postgres ; then > myconf="${myconf} --enable-preferences-extension" > fi I think you could use use_enable() or use_with() for many of these. $(use_enable large-domain large-scale) $(use_enable !large-domain domain-scale) $(use_enable user-homedirs homedir) $(use_enable debug) $(use_enable debug bnr-debug) $(use mysql || use postgres && use_enable virtual-users) ... Thanks, Donnie -- gentoo-dev@gentoo.org mailing list