git: 4a6a3534dde0 - main - databases/mongodb70: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 08 Aug 2023 09:55:31 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4a6a3534dde02d293438a929e06950c64a71a33d

commit 4a6a3534dde02d293438a929e06950c64a71a33d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-08 09:51:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-08 09:55:15 +0000

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

diff --git a/databases/mongodb70/Makefile b/databases/mongodb70/Makefile
index a58c1a2426c6..585baea89215 100644
--- a/databases/mongodb70/Makefile
+++ b/databases/mongodb70/Makefile
@@ -36,6 +36,7 @@ LIB_DEPENDS= 	libcurl.so:ftp/curl \
 USES=		compiler:c++20-lang cpe python:build scons shebangfix
 # gmake is used while running ${WRKSRC}/src/third_party/mozjs/gen-config.sh
 USES+=		gmake pkgconfig
+USE_CXXSTD=	c++14
 
 # mozjs tag comes from ${WRKSRC}/src/third_party/mozjs/get-sources.sh
 MOZJS_TAG=	82aac6af18abcd5bf188afbc821779ccb0ca0902