--- qt4-build.eclass.orig 2010-03-24 18:05:41.000000000 +0300 +++ qt4-build.eclass 2010-05-24 21:33:08.000000000 +0400 @@ -173,8 +176,10 @@ # Bug 282984 && Bug 295530 sed -e "s:\(^SYSTEM_VARIABLES\):CC=$(tc-getCC)\nCXX=$(tc-getCXX)\n\1:" \ -i configure || die "sed qmake compilers failed" - sed -e "s:\(\$MAKE\):\1 CC=$(tc-getCC) CXX=$(tc-getCXX) LD=$(tc-getCXX):" \ - -i config.tests/unix/compile.test || die "sed test compilers failed" + find ./config.tests/unix -name "*.test" -exec grep -lZ \$MAKE '{}' \; | \ + xargs -0 \ + sed -e "s:\(\$MAKE\):\1 CC=$(tc-getCC) CXX=$(tc-getCXX) LD=$(tc-getCXX) LINK=$(tc-getCXX):g" \ + -i || die "sed test compilers failed" # Bug 178652 if [[ $(gcc-major-version) == 3 ]] && use amd64; then