Subject: Re: Selectively DISabling bin-install ?
To: Chapman Flack <nblists@anastigmatix.net>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 04/26/2006 08:59:26
On 4/25/06, Chapman Flack <nblists@anastigmatix.net> wrote:
> Perhaps this is a way
> the framework should behave by default when the target is
> bin-install but the PKG_OPTIONS are nonempty.

I would tend to agree with this:  if PKG_OPTIONS.<name> is nonempty,
build from source; otherwise use a binpkg.  Note that <name> is
defined by the package Makefile and doesn't come from PKGNAME, so it
may be best to have bsd.options.mk contain the logic to force source
building when the variable is nonempty.

Now, it's arguable as to whether this change in behavior should be
switchable on/off.  :)

--
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>