public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org, jokey@gentoo.org
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/tcpdump: ChangeLog tcpdump-3.9.8.ebuild
Date: Tue, 9 Oct 2007 12:44:43 -0700	[thread overview]
Message-ID: <20071009194443.GD962@supernova> (raw)
In-Reply-To: <E1IfJRE-0006y8-J2@stork.gentoo.org>

On 18:04 Tue 09 Oct     , Markus Ullmann (jokey) wrote:
> 1.1                  net-analyzer/tcpdump/tcpdump-3.9.8.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild?rev=1.1&content-type=text/plain

> src_compile() {
> 	# tcpdump needs some optymalization. see bug #108391
> 	( ! is-flag -O? || is-flag -O0 ) && append-flags -O

You don't need a subshell here. If you feel that it improves 
readability, use a code block instead.

> 	# Fix wrt bug #48747
> 	if [[ $(gcc-major-version) -gt 3 ]] || \
> 		[[ $(gcc-major-version) -eq 3 && $(gcc-minor-version) -ge 4 ]]
> 	then
> 		filter-flags -funit-at-a-time
> 		append-flags -fno-unit-at-a-time
> 	fi

This kind of stuff might be worth verifying whether it's still needed on 
every bump. The last comment on the bug refers to gcc 4.0.*.

> 	make CCOPT="$CFLAGS" || die "make failed"

If emake doesn't work, please add a comment to that effect.

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



           reply	other threads:[~2007-10-09 19:57 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E1IfJRE-0006y8-J2@stork.gentoo.org>]

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=20071009194443.GD962@supernova \
    --to=dberkholz@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=jokey@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