Ken Moffat wrote:
> On Sat, Feb 04, 2012 at 03:22:53PM -0800, Bryan Kadzban wrote:
>>   I
>> also passed udev a "sharepkgconfigdir=/usr/lib/pkgconfig" override,
>> otherwise it dumped udev.pc into /usr/share/pkgconfig, where nothing
>> ever looks -- or at least, the way I built pkg-config, nothing ever
>> looks there.  Not sure if that matches BLFS or not though...
>>
>  I think /usr/share/pkgconfig has existed since before BLFS-6.3.  No
> idea which version of pkg-config introduced it, and I can remember
> thinking it was an error the first time I saw it.

Yeah, but I don't like it more because I *really* don't trust package
maintainers to understand the difference between .pc files that need to
go in /usr/lib{,64} versus /usr/share.  (Since this is a multilib setup,
the first two are intentionally different.)  Only .pc files whose
packages contain no architecture-specific files should use /usr/share,
and I don't exactly trust the maintainers to follow that.

So I have a root-owned /usr/share/pkgconfig directory, that none of the
package users have permission to write to.  I override anything that
tries, to force it into the proper /usr/lib* variant depending on
whether I just built it for 32-bit or 64-bit.

>  On this system (the one with enough of gnome3 to be able to run a
> basic gnome desktop in runlevel 3) /usr/share/pkgconfig has:
> 
> autoopts.pc
> xtrans.pc

That one *sounds* architecture-dependent, though I could be wrong.

> gnome-doc-utils.pc
> yelp-xsl.pc
> gnome-icon-theme.pc
> xkeyboard-config.pc
> gnome-keybindings.pc
> gsettings-desktop-schemas.pc
> gtk-doc.pc
> icon-naming-utils.pc
> iso-codes.pc
> shared-mime-info.pc
> udev.pc
> usbutils.pc
> xbitmaps.pc
> xml2po.pc
> xorg-macros.pc

Not sure on xorg-macros, but I think that one might be as well.

As for the rest, stuff like shared-mime-info (being data only) is
probably OK there, but I'd still rather be sure, on my own system.

No real need to override udev in the book though, I suppose.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to