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

Re: rpms/gwenview/devel gwenview.spec,1.8,1.9



On Thu, 26 May 2005 15:08:18 -0400 (EDT), Chris Ricker wrote:

> On Thu, 26 May 2005, Jeremy Katz wrote:
> 
> > -[ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh
> > -%configure --disable-rpath \
> > +unset QTDIR && . %{_sysconfdir}/profile.d/qt.sh
> > +%configure --disable-rpath --disable-libsuffix \
> 
> This has me curious. Is there any advantage to doing the above (which I've 
> noticed some of the other qt-linked apps also doing), versus just doing 
> something like:
> 
> %configure --with-qt-dir=%{_libdir}/qt-3.3
> 
> ?

Setting $QTDIR is a standard method for pointing many configure checks to
Qt's location. Your solution works for some programs which understand a
--with-qt-dir switch, but it hardcodes the Qt version, which creates a
need to keep it in sync with the main Qt packages.

-- 
Fedora Core release Rawhide (Rawhide) - Linux 2.6.11-1.1340_FC4
loadavg: 1.28 1.34 1.27


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