Summary: | =dev-db/mysql-5.1.44-r1 fails to compile: Active GCC too old. | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | nietonfir |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 310533 |
Description
nietonfir
2010-03-21 21:58:22 UTC
Another idea would be to completely remove the check from the eclass because it's already managed through the ebuild DEPEND... I added this patch instead: Index: mysql.eclass =================================================================== --- mysql.eclass (revision 57509) +++ mysql.eclass (working copy) @@ -612,8 +612,9 @@ # Bug #290570 fun. Upstream made us need a fairly new GCC4. if mysql_version_is_at_least "5.0.83" ; then GCC_VER=$(gcc-version) - case ${GCC_VER} in - 2*|3*|4.0|4.1|4.2) die "Active GCC too old! Must have at least GCC4.3" ;; + case ${CHOST}:${GCC_VER} in + *-darwin*:4.*) : ;; + *:2*|3*|4.0|4.1|4.2) ewarn "Active GCC too old! Must have at least GCC4.3" ;; esac fi |