WITH_/WITHOUT_ variables confusing

Gergely CZUCZY phoemix at harmless.hu
Mon Nov 26 11:00:46 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 messed up. The option sets WITH_FOOBAR, while it checks
for WITHOUT_FOOBAR. The port maintainer failed to understand
this.

So whatever you do, you will end up with building the
server part also.


Sincerely,

Gergely Czuczy
mailto: gergely.czuczy at harmless.hu

-- 
Weenies test. Geniuses solve problems that arise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1296 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20071126/f1bb5724/attachment.pgp


More information about the freebsd-ports mailing list