Nikos Chantziaras schrieb am 13.05.2009 23:31:
> 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?
> 

Does it work if you switch PREFIX=/usr and projectfile.pro? According to
the qt3.eclass (at which you really should take a look if you use
functions from it) qmake3 expects the pro file as first parameter and
the additional options afterwards.

Also this question is not appropriate for this list. The gentoo-devhelp
mailing-list or #gentoo-dev-help on IRC are better places for this kind
of questions.

Btw: Is there a typo in the eclass? Shouldn't it be "Project .pro file
"PREFIX=/usr" does not exist" instead of "Project .pro file
"PREFIX=/usr" does not exists"

-- 
Daniel Pielmeier

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to