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 1InHvI-00085h-02 for garchives@archives.gentoo.org; Wed, 31 Oct 2007 18:04:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9VI26GW022783; Wed, 31 Oct 2007 18:02:06 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 l9VHw3HN014917 for ; Wed, 31 Oct 2007 17:58:03 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 318D1654C7; Wed, 31 Oct 2007 17:58:03 +0000 (UTC) Date: Wed, 31 Oct 2007 10:58:01 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org, armin76@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-p2p/deluge: ChangeLog deluge-0.5.6.2.ebuild deluge-0.5.6.1.ebuild Message-ID: <20071031175801.GL30328@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: 13b2e355-7924-4101-8b95-8c474a5338bb X-Archives-Hash: 3f6ed0d7ba9a852a4f5f8417a9e97ccb On 15:38 Wed 31 Oct , Raul Porcel (armin76) wrote: > 1.1 net-p2p/deluge/deluge-0.5.6.2.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/deluge/deluge-0.5.6.2.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/deluge/deluge-0.5.6.2.ebuild?rev=1.1&content-type=text/plain > pkg_setup() { > if has_version " ! built_with_use "dev-libs/boost" threads; then > eerror "dev-libs/boost has to be built with threads USE-flag." > die "Missing threads USE-flag for dev-libs/boost" > fi > } > > src_compile() { > filter-ldflags -Wl,--as-needed > > distutils_src_compile > } If you moved the filter-ldflags() call up to pkg_setup(), you could drop src_compile() altogether to clean up the ebuild a little. Thanks, Donnie -- gentoo-dev@gentoo.org mailing list