git: 55836daf2c06 - 2022Q4 - databases/mongodb60: mark ignore on FreeBSD 12.3.

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Thu, 03 Nov 2022 21:47:43 UTC
The branch 2022Q4 has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55836daf2c06dffad37caa5e5c6d38d1c01abd62

commit 55836daf2c06dffad37caa5e5c6d38d1c01abd62
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2022-10-31 20:45:33 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2022-11-03 21:47:04 +0000

    databases/mongodb60: mark ignore on FreeBSD 12.3.
    
    Summary:
    Llvm in FreeBSD 12.3 gives several compile errors.
    One example:
    src/mongo/s/sharding_initialization.cpp:171:49: error: no viable constructor or deduction guide for deduction of template arguments of 'weak_ptr'
        connPoolOptions.controllerFactory = [srwp = std::weak_ptr(srsp)] {
    
    http://beefy6.nyi.freebsd.org/data/123amd64-default/0116f5c59197/logs/errors/mongodb60-6.0.2.log
    
    12.4 is expected to work again due to new libc++
    
    PR:     266587
    Approved by: rene (mentor)
    MFH:    2022Q4
    Differential Revision: https://reviews.freebsd.org/D37230
    
    (cherry picked from commit 34381447a02db395fdec9a0c3946562023bc3d5c)
---
 databases/mongodb60/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile
index 4e5bcc742d09..51d65275ab43 100644
--- a/databases/mongodb60/Makefile
+++ b/databases/mongodb60/Makefile
@@ -87,6 +87,10 @@ SSL_MAKE_ARGS=	--ssl
 
 .include <bsd.port.pre.mk>
 
+.if ${OSREL} == "12.3"
+IGNORE=		does not compile on 12.3, libc++ too old
+.endif
+
 ALL_TARGET=	install-core
 
 # This ports is only following the Major Release.