Date: 13 Mar 2004 11:01:45 -0000 From: tmseck-lists@netcologne.de (Thomas-Martin Seck) To: Sergey Matveychuk <sem@ciam.ru> Cc: freebsd-ports@freebsd.org Subject: Re: default OPTIONS aren't the default when BATCH is set Message-ID: <20040313110145.763.qmail@laurel.tmseck.homedns.org> In-Reply-To: <40525B05.6090109@ciam.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
* Sergey Matveychuk <sem@ciam.ru> [gmane.os.freebsd.devel.ports]: > There is a workaround while it's not fixed: > OPTIONS= SOME_DEFAULT "..." on > WITH_SOME_DEFAULT?= yes That looks bogus to me. The ?= does not make sense for variables which are checked for definedness only (?= is the same as = since you cannot 'unset' the variable on the commandline) and IMO it is sufficient to fix the port's options parser to check for WITHOUT_OPTION_FOO when 'foo' defaults to 'on'. At least this is how I do it in my ports.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040313110145.763.qmail>