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 1IhYS0-00030o-UG for garchives@archives.gentoo.org; Mon, 15 Oct 2007 22:30:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9FMJEvH001170; Mon, 15 Oct 2007 22:19:14 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 l9FMHKWP031401 for ; Mon, 15 Oct 2007 22:17:20 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 CB52B653D2; Mon, 15 Oct 2007 22:17:19 +0000 (UTC) Date: Mon, 15 Oct 2007 15:17:18 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org, marineam@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-emulation/xen: ChangeLog xen-3.1.1.ebuild Message-ID: <20071015221718.GL23990@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: 8bb0534c-43b5-42a8-80ce-db7715d0805b X-Archives-Hash: c996786df4d225015412e6e6b8ce1108 On 18:33 Mon 15 Oct , Micheal Marineau (marineam) wrote: > 1.1 app-emulation/xen/xen-3.1.1.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/xen-3.1.1.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/xen-3.1.1.ebuild?rev=1.1&content-type=text/plain > src_compile() { > local myopt > use debug && myopt="${myopt} debug=y" > use pae && myopt="${myopt} pae=y" > > if use custom-cflags; then > filter-flags -fPIE -fstack-protector > else > unset CFLAGS > fi > > # Send raw LDFLAGS so that --as-needed works > emake LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed" > } > > src_install() { > local myopt > use debug && myopt="${myopt} debug=y" > use pae && myopt="${myopt} pae=y" The environment should be preserved across phases, so you shouldn't have to repeat this stuff. Thanks, Donnie -- gentoo-dev@gentoo.org mailing list