[Fedora-packaging] Re: cmake rpm macro(s):

Axel Thimm Axel.Thimm at ATrpms.net
Thu Mar 15 08:53:39 UTC 2007


On Thu, Mar 15, 2007 at 03:25:19AM +0000, Kevin Kofler wrote:
> Axel Thimm <Axel.Thimm <at> ATrpms.net> writes:
> > > > %_cmake_install_prefix -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}
> > > > %_cmake_build_shared_libs -DBUILD_SHARED_LIBS:BOOL=ON
> > > > %_cmake_lib_suffix64 -DLIB_SUFFIX=64
> > > 
> > > Using _cmake_* macros allows for users to easily override/change 
> > > individual items, if needed.
> > 
> > What would one override? They are already generic enough.
> 
> Because KDE 4 needs to go to /opt/kde4 (or /usr/kde4 or some other prefix, but 
> not /usr) or it will trip on KDE 3. For example, kdelibs-devel and 
> kdelibs4-devel would clash on the .so symlinks if I packaged KDE 4 into /usr.

You would set a different %{_prefix} then. I wasn't arguing about the
use of %{_prefix}, that's more than fine.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070315/4818dd0c/attachment.sig>


More information about the Fedora-packaging mailing list