public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <dberkholz@gentoo.org>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, marineam@gentoo.org
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-emulation/xen: ChangeLog xen-3.1.1.ebuild
Date: Tue, 30 Oct 2007 21:48:41 -0700	[thread overview]
Message-ID: <20071031044841.GH30328@supernova> (raw)
In-Reply-To: <200710310031.43815.vapier@gentoo.org>

On 00:31 Wed 31 Oct     , Mike Frysinger wrote:
> On Monday 15 October 2007, Donnie Berkholz wrote:
> > 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.
> 
> "myopt" is declared "local"

Sure, but did you notice it's set to the exact thing in both phases? 
Seems a bit pointless.

Thanks,
Donnie
-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2007-10-31  4:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1IhUl3-0006Zm-2F@stork.gentoo.org>
2007-10-15 22:17 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-emulation/xen: ChangeLog xen-3.1.1.ebuild Donnie Berkholz
2007-10-31  4:31   ` Mike Frysinger
2007-10-31  4:48     ` Donnie Berkholz [this message]
2007-10-31  4:51       ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071031044841.GH30328@supernova \
    --to=dberkholz@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=marineam@gentoo.org \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox