The ebuild hardcodes path for qt3 (ex : line 163:) /usr/qt/3/bin/qmake -o "${S}"/wpa_gui/Makefile "${S}"/wpa_gui/wpa_gui.pro and will not compile if qt is installed somewhere else (but still in path, and $QTDIR is set also). Another point is that it doesn't find qt4 neither. But this is a lot more difficult to solve as gentoo uses 'qmake' for both qt3 and qt4. Reproducible: Always Actual Results: /usr/portage/net-wireless/wpa_supplicant/wpa_supplicant-0.6.0.ebuild: line 155: /usr/qt/3/bin/qmake: No such file or directory make: *** No targets specified and no makefile found. Stop.
Created attachment 122784 [details, diff] wpa_supplicant-0.6.0.ebuild.diff We only support QT installed via Gentoo ebuilds, and it works just perfectly fine with that. ${QTDIR}/bin/qmake is the correct path for qt-3 (is NOT in $PATH) and /usr/bin/qmake is for qt-4. As such, this patch is purely cosmetic and not needed for anyone using Gentoo ebuilds. If you install stuff to different locations, that's your problem.
And i would be delighted if the script was using ${QTDIR}/bin/qmake as you said, but it does not. It explicitely uses /usr/qt/3/bin/qmake, check. (I find the comment a little bit rude. Gentoo is about flexibility, no ? what is /etc/portage/profile/package.provided for then?)
Fixed, thanks.