--- /usr/portage/eclass/qt3.eclass 2007-07-31 16:06:06.000000000 +0200 +++ qt3.eclass 2007-08-01 11:35:43.886378293 +0200 @@ -26,8 +26,6 @@ QTDIR="/usr/qt/3" fi -PATH="${QTDIR}/bin:${PATH}" - addwrite "${QTDIR}/etc/settings" addpredict "${QTDIR}/etc/settings" @@ -66,6 +64,18 @@ echo ${VERSIONS} } + +# +# eqmake3 - Portage wrapper for qt3's qmake +# +# Authors: Przemysław Maciag +# Davide Pesavento +# +# Usage: eqmake3 [...] +# First parameter is the name of the .pro file on which qmake +# should be run, defaults to ${PN}.pro if not specified. +# Other parameters after the first are passed unmodified to qmake. +# eqmake3() { local LOGFILE="${T}/qmake-$$.out" local projprofile="${1}" @@ -101,6 +111,7 @@ fi ${QTDIR}/bin/qmake ${projprofile} \ + QTDIR=${QTDIR} \ QMAKE=${QTDIR}/bin/qmake \ QMAKE_CC=$(tc-getCC) \ QMAKE_CXX=$(tc-getCXX) \