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 <gentoo-dev+bounces-27899-garchives=archives.gentoo.org@gentoo.org>) id 1J1bm4-0000v7-OP for garchives@archives.gentoo.org; Mon, 10 Dec 2007 06:05:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lBA64wBZ024082; Mon, 10 Dec 2007 06:04:58 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lBA61wFs019350 for <gentoo-dev@lists.gentoo.org>; Mon, 10 Dec 2007 06:02:01 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 D864765465; Mon, 10 Dec 2007 06:02:00 +0000 (UTC) Date: Sun, 9 Dec 2007 22:01:59 -0800 From: Donnie Berkholz <dberkholz@gentoo.org> To: gentoo-dev@lists.gentoo.org, mattepiu@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-tv/xmltv: ChangeLog xmltv-0.5.50.ebuild Message-ID: <20071210060159.GF4162@supernova> References: <E1J0xXO-0002w3-Jl@stork.gentoo.org> Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> 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: <E1J0xXO-0002w3-Jl@stork.gentoo.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 947e38a5-1c07-40e4-af9b-c82ac06e5b6a X-Archives-Hash: 8e26c55390a9174519157e19a6b96303 On 11:08 Sat 08 Dec , Matteo Azzali (mattepiu) wrote: > 1.1 media-tv/xmltv/xmltv-0.5.50.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xmltv/xmltv-0.5.50.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xmltv/xmltv-0.5.50.ebuild?rev=1.1&content-type=text/plain > make_config() { > # Never except default configuration > echo "no" > > # Enable Australian > #use au && echo "yes" || echo "no" > # Enable Agentina > use ar && echo "yes" || echo "no" > # Enable Brazil > #use br && echo "yes" || echo "no" > # Enable Brazil Cable > use brnet && echo "yes" || echo "no" ... snip more ... You could simplify this with the yesno() function that's in a number of ebuilds around the tree, for example sys-apps/less. Thanks, Donnie -- gentoo-dev@gentoo.org mailing list