Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2007 17:24:17 +0100
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        Mikhail Teterin <mi+kde@aldan.algebra.com>
Cc:        Michael Johnson <ahze@freebsd.org>, multimedia@freebsd.org, mezz@freebsd.org
Subject:   Re: improving vlc-devel
Message-ID:  <20070303162417.GD1530@roadrunner.q.local>
In-Reply-To: <200702261300.37063@aldan>
References:  <200702260942.27062@aldan> <200702261157.27266@aldan> <b2203fed0702260939q2cee4a88ja1e82b853b085eb6@mail.gmail.com> <200702261300.37063@aldan>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Ulrich Spoerlein
-- 
"The trouble with the dictionary is you have to know how the word is
spelled before you can look it up to see how it is spelled."
-- Will Cuppy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070303162417.GD1530>