Subject: Re: building packages with a mix of source and precompiled packages?
To: Steven M. Bellovin <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 05/26/2007 19:30:16
On Sat, 26 May 2007, Steven M. Bellovin wrote:
> Sometimes, when I'm building a package, pkgsrc recompiles build-time
> only packages even though there's a current installable tarball in
> packages/All. This may happen because packages/All was populated via
> pkg_comp; when I bring stuff forward, I use 'pkg_info -u' to specify
> only the leaf packages I want installed. Other things may be installed
> if they're needed at run-time, but build-time things -- autoconf, etc.
> -- are not installed. When I build new packages, I'd like to install
> the already-built versions instead of recompiling. Is there any way to
> do that?
Use "bin-install" target (instead of "install").
It uses BINPKG_SITES variable. Documentation mostly mentions it is for
URL, but can be local also.
Try setting it to /usr/pkgsrc/packages (and it will append "/All").
Jeremy C. Reed