> I have a package that uses qmake (from Qt 3) as its build system and
> that installs into /usr/local by default (as any well packaged software
> should do).  This of course can be overridden at build time.  In this
> case, with:
>
>    qmake PREFIX=/usr projectfile.pro
>
> In order to install into /usr (as any well written ebuild should do.)
> In the ebuild however, eqmake3 doesn't seem to accept any arguments.  This:
>
>    eqmake3 PREFIX=/usr projectfile.pro | die "qmake failed"
>
> results in:
>
>   * Project .pro file "PREFIX=/usr" does not exists
>   * qmake cannot handle non-existing .pro files
>
> when trying to emerge.  What can I do?

You could try use the following 

eqmake3 <project_name>.pro PREFIX=/usr

project name must be argument ${1} ( according to eclass )

ps: You dont need ' | die ' statement. eqmake3 dies by itself :)
-- 
Markos Chandras (hwoarang)
Gentoo Linux Developer [KDE/Qt/Sunrise/Sound]
Web: http://hwoarang.silverarrow.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to