Date: Sun, 4 Mar 2007 14:47:00 -0500 From: Mikhail Teterin <mi+kde@aldan.algebra.com> To: Ulrich Spoerlein <uspoerlein@gmail.com> Cc: Michael Johnson <ahze@freebsd.org>, multimedia@freebsd.org, mezz@freebsd.org Subject: Re: improving vlc-devel Message-ID: <200703041447.01127@aldan> In-Reply-To: <20070303162417.GD1530@roadrunner.q.local> References: <200702260942.27062@aldan> <200702261300.37063@aldan> <20070303162417.GD1530@roadrunner.q.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703041447.01127>