pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: $ in make's := operator (was: CVS commit: pkgsrc/mk)



>For some reason, .MAKE.SAVE_DOLLARS defaults to true in
>pkgsrc/devel/bmake (for backwards compatibility) and to false in NetBSD
>as well as Simon's bmake distribution.

Actually the default in bmake distribution is false which is 
the backwards compatibile behavior.
Makefiles like my dirdeps.mk force it to false just in case since it
depends on that behavior.

The default in NetBSD is true, I expect someone changed
pkgsrc/devel/bmake to true to match NetBSD.

>The differing default value is definitely a pitfall. There's nothing
>pkglint can warn about, and changing the default value would affect all
>packages that use devel/bmake, so that's not trivial either.

As noted above Makefiles that care can set the value they want,
but that can be hazardous if *mk depend on opposite behavior.

--sjg



Home | Main Index | Thread Index | Old Index