On Tue 02 Jan 2018 at 09:56:46 +0000, Duncan wrote: > Certainly, gentoo users > at least don't want "automagic" detection and strongly prefer hard- > enabling or hard-disabling (generally controlled on gentoo via USE > flags), because otherwise the package manager doesn't track the > dependency and can uninstall a depended library and break the package. ... > > And other distro users doing their own builds will likely have similar > wants/needs, tho they may not be as strong if they're doing builds > manually anyway.
Just as an aside, possibly interesting: pkgsrc (a multiplatform package building and management system, see www.pkgsrc.org) has its own way of fixing this. Each package specifies the others that it needs, and only those are made visible to configure and the compiler. Everything else is hidden (up to a point). The way it works is with shadow-directories for include and library files, which contain symlinks to the real files, for everything that the build tools are supposed to see. Wrappers around the tools translate directory names and enforce that no uncleaned paths are used. It works fairly well, unless a configure script uses very nonstandard ways to find stuff. -Olaf. -- ___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X \X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly.
signature.asc
Description: PGP signature
_______________________________________________ Pan-users mailing list Pan-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/pan-users