git: e272f4a61e78 - main - Fix default for .MAKE.SAVE_DOLLARS

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Mon, 13 Apr 2026 17:38:57 UTC
The branch main has been updated by sjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=e272f4a61e78037ec8477ba9e9afcbe3ae2cd8e3

commit e272f4a61e78037ec8477ba9e9afcbe3ae2cd8e3
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2026-04-13 17:38:50 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2026-04-13 17:38:50 +0000

    Fix default for .MAKE.SAVE_DOLLARS
    
    NetBSD make defaults this to "yes",
    bmake defauts it to "no" to retain the traditional behavior.
    
    The default is dealt with in bmake's Makefile but that does not
    address boot-strap.
    
    For now, just change the ifdef in main.
    
    PR: 294436
---
 contrib/bmake/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/bmake/main.c b/contrib/bmake/main.c
index ace5c729be51..15b028a65241 100644
--- a/contrib/bmake/main.c
+++ b/contrib/bmake/main.c
@@ -1315,7 +1315,7 @@ ReadFirstDefaultMakefile(void)
 }
 
 #ifndef MAKE_SAVE_DOLLARS_DEFAULT
-# define MAKE_SAVE_DOLLARS_DEFAULT "yes"
+# define MAKE_SAVE_DOLLARS_DEFAULT "no"
 #endif
 
 /*