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
--
[EMAIL PROTECTED] mailing list