Summary: | net-analyzer/wireshark shouldn't check for compiler version unconditionally in pkg_pretend | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sławomir Nizio <slawomir.nizio> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sławomir Nizio
2013-04-01 18:56:53 UTC
if [[ ${MERGE_TYPE} != binary ]]; then maybe even: if [[ ${MERGE_TYPE} != binary ]]; then if [[ $(tc-getCC) =~ gcc ]]; then oops, that was bash-4.2, use: [[ $(tc-getCC) == *gcc* ]] fi fi fi (In reply to comment #3) > oops, that was bash-4.2, use: [[ $(tc-getCC) == *gcc* ]] =~ exists in bash 3 too :) btw. nice idea I think I'm in the process of removing the entire pkg_pretend and checking to see what breaks... I removed pkg_pretend() from all ebuilds. Thanks! |