Subject: Re: NetBSD 2.0 packages + pkg_add bug
To: None <juan@xtraeme.nopcode.org>
From: Havard Eidnes <he@uninett.no>
List: current-users
Date: 12/28/2004 01:29:47
> On Mon, 27 Dec 2004 12:53:24 -0500
> J Chapman Flack <flack@cs.purdue.edu> wrote:
> > You know, this reminds me of a (possibly dumb) question I've been
> > meaning to ask.
> >
> > Is there some pkgsrc variable I can set, or some option I can
> > specify when building from source, to say "look for prerequisite
> > packages in binary form first?"
> >
> > I built mplayer from source the other day because there was no i386=

> > 2.0 binary yet, but there were binary packages for most of the
> > prequisites.  When I noticed mid-afternoon that my machine was
> > building all of qt3-libs from source just to put mplayer on, I
> > killed the build, ran pkg_add qt3-libs, and reran make.  Much
> > faster.  What I'd really like is the option for "install this
> > package, installing from binary everything that's already available=
,
> > and building only what isn't."  But I haven't stumbled on it.
>
> DEPENDS_TARGET=3Dbin-install

Is this a reliable method, i.e. if there a package which mplayer depend=
s
on but which isn't present in it's binary form, will this revert back t=
o
building the "missing" package from source, or will it simply fail?

Regards,

- H=E5vard