Created attachment 304727 [details] diff against eclass qt4-build.eclass need update for qt-4.8 for OS X, since a config file name is changed. In the eclass, sed fails with "no such file or directory" when trying to configure qt-core-4.8.0-r1. The file mkspecs/common/mac-g++.conf has been renamed to mkspecs/common/g++-macx.conf. The attached diff is my attempt to make the eclass work both with 4.7.x and 4.8.x. I can emerge 4.8 version of qt-core or qt-gui with the modified eclass.
@qt, MATSUI's patch only touches the Darwin conditional parts. I believe you work in your overlay first. Would you mind applying MATSUI's patch, so it can get in gx86 at your next push?
+ elif [ -f mkspecs/common/g++-base.conf ]; then + # qt >= 4.8 has g++-macx.conf + macgppconf="mkspecs/common/g++-macx.conf" You said the new filename is g++-macx.conf but the conditional looks for g++-base.conf... typo? Also, use bash-style (double brackets) conditionals everywhere please. + macgccconfs="${macgccconf} mkspecs/common/gcc-base-macx.conf" macgccconf should be macgccconfs I suppose (note the final 's'). Anyway, just use += to avoid the issue altogether.
Created attachment 307219 [details, diff] revised patch Thank you for the review. The patch is revised on your comments.
Patch looks good
Patch applied to the qt overlay, will be moved to gentoo-x86 later. Thanks!
(In reply to comment #5) > Patch applied to the qt overlay, will be moved to gentoo-x86 later. Thanks! All done, thanks for the patch!