improving vlc-devel

Mikhail Teterin mi+kde at
Sun Mar 4 20:13:46 UTC 2007

On Saturday 03 March 2007 11:24, Ulrich Spoerlein wrote:
= Mikhail Teterin wrote:
= > It works like this:
= > 
= > 	. Port moo says:
= > 		LIB_DEPENDS=	meow:${PORTSDIR}/woof/meow
= > 	. runs `ldconfig -r | fgrep meow', finds the library
= > 	  (such as /usr/local/lib/, for example)
= > 	. uses `pkg_info -W /usr/local/lib/' to
= > 	  find, which package installed it
= > 	. THAT package is recorded as a dependency for moo.
= No, that is how it *should* work. Right now, pkg_info -W is nowhere used
= in the Mk infrastructure. This has the side effect of randomly recording
= wrong dependancies which you then have to fix up with pkgdb -F.

Yes. Actually, uses the ``-O'', instead of the ``-W''. Search for 
PACKAGE-DEPENDS-LIST (a rather grotesque contraption, BTW). Thus it is still 
prone to mistakes such as recording dependency on meow, when was 
installed by meow-devel or something.

But it is *still* perfectly safe without the shared libs major numbers. Using 
those without a _real_ need to is useless and breaks the perfectly legitimate 
scenarios outlined earlier in this thread.

Doing so _knowingly_ is simply capricious...


More information about the freebsd-multimedia mailing list