Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2008 11:53:17 -0800
From:      "Eugene M. Kim" <blue@white.lv>
To:        =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>
Cc:        svn-src-head@freebsd.org, Matteo Riondato <matteo@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r184809 - in head/usr.sbin/cron: cron crontab lib
Message-ID:  <4918912D.2040100@white.lv>
In-Reply-To: <86wsfb1jda.fsf@ds4.des.no>
References:  <200811100635.mAA6ZUWV060966@svn.freebsd.org> <86wsfb1jda.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
A (very) minor correction: Command-line variable assignments override 
even "="-style ones:

$ cat Makefile
OMG=    OH MY GOD

.error ${OMG}
$ make
"/home/ab/Makefile", line 3: OH MY GOD
$ make OMG=OMIGOD
"/home/ab/Makefile", line 3: OMIGOD

But "="-style assignments does nullify overrides stored in src.conf or 
make.conf, so I believe your overall point is still quite valid.  : )

Cheers,
Eugene

Dag-Erling Smørgrav wrote:
> Matteo Riondato <matteo@FreeBSD.org> writes:
>   
>> +WARNS=3
>>     
>
> SOP is to use ?= instead of = here so you can override it on the command
> line.
>
> DES
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4918912D.2040100>