So the version check will fail.
And gcc-version is also matching clang? (both conditions must be fulfilled)
It reports clang's version (3.8.1).
We should then try to use tc-is-gcc from toolchain-funcs.eclass instead of grepping I guess :/
The following patch makes checks succeed with clang-3.9.0 and gcc-4.9.3: diff --git a/net-libs/webkit-gtk/webkit-gtk-2.12.5.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.12.5.ebuild index 0883498..fd97969 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.12.5.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.12.5.ebuild @@ -131,7 +131,7 @@ pkg_pretend() { die "You need at least GCC 4.9.x or Clang >= 3.3 for C++11-specific compiler flags" fi - if [[ $(tc-getCXX) == *g++* && $(gcc-version) < 4.9 ]] ; then + if [[ $(tc-is-gcc) && $(gcc-version) < 4.9 ]] ; then die 'The active compiler needs to be gcc 4.9 (or newer)' fi fi
FTR, this is implemented in masked webkit-gtk-2.14
Fixed ebuild is now unmasked. Thanks for reporting.