git: b94bafa3255d - main - databases/mongodb60: reduce warning output
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Jun 2025 10:55:08 UTC
The branch main has been updated by ronald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b94bafa3255db998d5c656e540ed8c399e53feec
commit b94bafa3255db998d5c656e540ed8c399e53feec
Author: Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-06-01 10:38:15 +0000
Commit: Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-06-01 10:54:59 +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
---
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]