Subject: Re: bin-install and package targets
To: J Chapman Flack <flack@cs.purdue.edu>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
List: tech-pkg
Date: 06/25/2005 12:50:49
On Fri, 24 Jun 2005 13:17:42 -0500
J Chapman Flack <flack@cs.purdue.edu> wrote:

> ccatrian@eml.cc wrote:
> > In fact, that's my case, using bin-install as a DEPENDS_TARGET, but the
> > normal behaviour of bin-install is - install the local available package -
> > or - fetch it from the net.
> > 
> > I would like to make a package if a local package doesn't exist.
> 
> I would override BINPKG_SITES to include no nonlocal sites. Then if you
> have the package locally cached in packages/All, it gets installed;
> otherwise (as there is no other place to look for the binary package) the
> source build is performed.  Would that serve your purpose?

Overriding BINPKG_SITES works just fine. Instead of trying to fetch some binary,
the process just goes to the build stage.

Thanks

César