improving vlc-devel

Mikhail Teterin mi+kde at aldan.algebra.com
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
= > 	. bsd.ports.mk runs `ldconfig -r | fgrep meow', finds the library
= > 	  (such as /usr/local/lib/libmeow.so.X, for example)
= > 	. bsd.ports.mk uses `pkg_info -W /usr/local/lib/libmeow.so.X' 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, bsd.port.mk 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 libmeow.so 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...

	-mi


More information about the freebsd-multimedia mailing list