/usr/local support

Dan Nicholson dbn.lists at gmail.com
Sun Apr 6 10:45:57 PDT 2008


On Sun, Apr 6, 2008 at 10:11 AM, Matthias Clasen <mclasen at redhat.com> wrote:
> On Sun, 2008-04-06 at 18:51 +0200, Enrico Weigelt wrote:
>  > * Tollef Fog Heen <tfheen at err.no> schrieb:
>  >
>  > > Sorry, it got lost in the abyss of my mailbox.  A conceptually similar
>  > > patch has been applied now where it adds /usr/lib/pkgconfig and
>  > > /usr/share/pkgconfig if prefix is unset.
>  >        ^^^^^^
>  > WTF ?!
>  > Which version is affected, where do I have to fork at ?
>  >
>  > ${datadir} is meant for _arch-independent_ const data.
>  > .pc descriptors directly belong to libs and so are _clearly_
>  > arch-dependent.
>
>  Look at your filesystem before sending flames...there are plenty of pc
>  files nowadays which _are_ arch-independent and don't directly belong to
>  libs. /usr/share/pkgconfig is for those.

Yep. For example, iso-codes, which is just a bunch of data in
${datadir}. Doesn't get much more architecture-independent than that.

--
Dan


More information about the pkg-config mailing list