Optional patching

RW fbsd06 at mlists.homeunix.com
Wed Dec 19 13:43:49 PST 2007


On Wed, 19 Dec 2007 15:53:40 -0500
Wesley Shields <wxs at atarininja.org> wrote:

> On Wed, Dec 19, 2007 at 08:13:16PM +0000, RW wrote:
>
> > I would have thought that the ".if ${ARCH}" method was the only
> > sensible way of doing it. Packages are built without any options
> > set.
> 
> They are built using the default OPTIONS in the Makefile - ie: those
> that are specified as "on".  If what you say is true then one of my
> ports would not build properly - it requires at least one of a few
> options to be on.

I meant "set" in the normal English sense of the word, as in "set-up",
rather than "set" meaning a boolean value of true.
 
> Another reason not to put it in as an OPTION is that if the option
> defaults to off the package will fail to build on 64bit platforms.

That was the point I was making.


More information about the freebsd-ports mailing list