From b94bafa3255db998d5c656e540ed8c399e53feec Mon Sep 17 00:00:00 2001 From: Ronald Klop Date: Sun, 1 Jun 2025 12:38:15 +0200 Subject: [PATCH] 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 --- databases/mongodb60/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile index 29a3172f2978..aeb929ee6d37 100644 --- a/databases/mongodb60/Makefile +++ b/databases/mongodb60/Makefile @@ -76,7 +76,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]