WITH_/WITHOUT_ variables confusing

Wesley Shields wxs at atarininja.org
Mon Nov 26 11:12:17 PST 2007


On Mon, Nov 26, 2007 at 10:37:33AM -0800, Clint Olsen wrote:
> I'm trying to build net/vnc, and I want a server.  The OPTIONS list
> shows:
> 
> OPTIONS =   server "blah blah" on
> 
> So, this tells me that by default it should be on, correct?
> Yet the port throughout the makefile references WITHOUT_SERVER.  I've
> tried various combinations of WITH_SERVER and WITHOUT_SERVER and I can't
> seem to disable WITHOUT_SERVER.
> 
> A couple one-line examples in the manpage would clear this up a lot.
> I checked the handbook, the ports manpage, and I even looked at the
> ports default makefile.
> 
> And finally, once I've figured out how to do this, how/where are we
> supposed to override this so I never have to deal with it again?  I 
> always want a server built.

It's being stored with the rest of the options most likely.  You can see
the currently selected options with 'make config' or remove them with
'make rmconfig'.  Once you select the options you want they will be
remembered for you.

-- WXS


More information about the freebsd-ports mailing list