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 <[EMAIL PROTECTED]> writes:
+WARNS=3

SOP is to use ?= instead of = here so you can override it on the command
line.

DES

_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to