git: 0cf8b3fab1fe - main - databases/mongodb44: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 06 Aug 2023 18:30:48 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0cf8b3fab1feb6cb388ebb8015118faca96ba933

commit 0cf8b3fab1feb6cb388ebb8015118faca96ba933
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 18:09:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 18:30:38 +0000

    databases/mongodb44: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 databases/mongodb44/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/databases/mongodb44/Makefile b/databases/mongodb44/Makefile
index 9402778d101b..45f66cc09b3c 100644
--- a/databases/mongodb44/Makefile
+++ b/databases/mongodb44/Makefile
@@ -28,6 +28,7 @@ LIB_DEPENDS=	libpcre.so:devel/pcre \
 		libsnappy.so:archivers/snappy
 
 USES=		compiler:c++17-lang cpe python:build scons
+USE_CXXSTD=	c++14
 USE_RC_SUBR=	mongod
 
 MAKE_ARGS=	--use-system-zlib \