[email protected]
[Top] [All Lists]

Re: Altering %{_libdir}

Subject: Re: Altering %{_libdir}
From: Panu Matilainen
Date: Tue, 18 Apr 2006 04:42:30 -0700 PDT
On Tue, 18 Apr 2006, Michael Schwendt wrote:

On Tue, 18 Apr 2006 10:09:13 +0100, PFJ wrote:


One of the problems of packaging for mono is that it expects libs et al
to be in /usr/lib and not /usr/lib64. This causes lots of problems.

Is there a way to say in the spec something akin to

if %{_libdir} != '/usr/lib'
  ${_libdir} = '/usr/lib';

Whenever I've tried to use --libdir inside of the CXX definition,
something gets confused and the software refuses to build.

%define _libdir %{_prefix}/lib

would override the default %{_libdir}.

If the software uses hardcoded /usr/lib for its paths there's not much point in using %{_libdir} to begin with.

        - Panu -

fedora-extras-list mailing list
[email protected]

<Prev in Thread] Current Thread [Next in Thread>