[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] small contrib-rpm.patch


On Sun, 2008-10-26 at 22:53 +0100, Andreas Piesk wrote:
> Yuri Timofeev schrieb:
> > 
> > See attach.
> > 
> 
> i personally don't like hard-coded paths and use pkgconfig instead:
> 
> %if %{bat}
> export QTDIR=$(pkg-config --variable=prefix QtCore)
> export QTINC=$(pkg-config --variable=includedir QtCore)
> export QTLIB=$(pkg-config --variable=libdir QtCore)
> export PATH=${QTDIR}/bin/:${PATH}
> make qwt
> %endif
> 
> this way it doesn't matter where the binaries, libraries, etc. are
> installed.
> 
> regards,
> -ap
> 
> 

I like the idea of putting into the spec file.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.