Stuart Henderson <[email protected]> wrote:

> There are a number of ports which use flac and vorbis which we need to patch
> to add library dependencies which don't seem to be needed anywhere else (the
> most common being -lm for vorbis), can anyone throw some light on why it's
> done this way and not just pulled in by recorded library dep's?

Because inter-library dependencies don't work on static architectures.

Once upon a time it was OpenBSD policy not to rely on inter-library
dependencies and in fact to *remove* them (espie@ was quite adamant
at the time), so things would end up working on static archs, too.
Over time people started ignoring and eventually forgetting about
this, and when asked, espie@ has been wavering for years.

The result is that by now only a handful of basic libraries (largely
maintained by me, I guess) remove the inter-library dependencies.
If there is some sort of consensus, I'll happily stop doing this--
starting with gettext<->iconv.  Things will then work the same as
"elsewhere", except on vax, where they'll break even more.

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to