Subject: Re: bin-install and package targets
To: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
From: J Chapman Flack <flack@cs.purdue.edu>
List: tech-pkg
Date: 06/24/2005 13:17:42
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?

-Chap