Subject: Re: Selectively DISabling bin-install ?
To: Chapman Flack <firstname.lastname@example.org>
From: Todd Vierling <email@example.com>
Date: 04/26/2006 08:59:26
On 4/25/06, Chapman Flack <firstname.lastname@example.org> 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 <email@example.com> <firstname.lastname@example.org> <email@example.com>