git: 3f9b66993c9a - 2025Q2 - databases/mongodb60: reduce warning output

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Tue, 03 Jun 2025 12:12:30 UTC
The branch 2025Q2 has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f9b66993c9af3face73a6e10b9c3d0410263610

commit 3f9b66993c9af3face73a6e10b9c3d0410263610
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-06-01 10:38:15 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-06-03 12:11:58 +0000

    databases/mongodb60: reduce warning output
    
    The build outputs MBs of reports like:
    "warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins]"
    
    This might somehow supress the error output (or cause the error) of the sporadic "Error -9".
    
    Suggested by:   des@ via https://lists.freebsd.org/archives/freebsd-ports/2025-May/007910.html
    
    (cherry picked from commit b94bafa3255db998d5c656e540ed8c399e53feec)
---
 databases/mongodb60/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile
index f71f16c3d04b..4cc32b2aed76 100644
--- a/databases/mongodb60/Makefile
+++ b/databases/mongodb60/Makefile
@@ -74,7 +74,8 @@ MAKE_ARGS=	--cxx-std=17 \
 		MONGO_VERSION=${DISTVERSION} \
 		VERBOSE=on
 
-CFLAGS+=	-DBOOST_NO_CXX98_FUNCTION_BASE
+CFLAGS+=	-DBOOST_NO_CXX98_FUNCTION_BASE \
+		-Wno-deprecated-builtins
 
 CONFLICTS_INSTALL=	mongodb[0-9][0-9]