git: 983cfe5519cf - main - databases/mongodb80: unbreak on 15 + llvm 19.1.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Oct 2024 07:31:46 UTC
The branch main has been updated by ronald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=983cfe5519cfa4282cfd94ee6434e63ba161730b
commit 983cfe5519cfa4282cfd94ee6434e63ba161730b
Author: Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-10-31 07:29:29 +0000
Commit: Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-10-31 07:31:06 +0000
databases/mongodb80: unbreak on 15 + llvm 19.1.2
stick to <= llvm18 on FreeBSD 15
fixes:
In file included from src/third_party/mozjs/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp:2:
In file included from src/third_party/mozjs/extract/js/src/vm/GlobalObject.cpp:7:
In file included from src/third_party/mozjs/extract/js/src/vm/GlobalObject.h:34:
In file included from src/third_party/mozjs/extract/js/src/vm/JSContext.h:22:
In file included from src/third_party/mozjs/extract/js/src/jit/PcScriptCache.h:12:
In file included from src/third_party/mozjs/extract/js/src/vm/Runtime.h:49:
In file included from src/third_party/mozjs/extract/js/src/vm/Caches.h:17:
In file included from src/third_party/mozjs/extract/js/src/frontend/ScopeBindingCache.h:20:
In file included from src/third_party/mozjs/extract/js/src/vm/Scope.h:34:
In file included from src/third_party/mozjs/extract/js/src/vm/JSFunction.h:25:
In file included from src/third_party/mozjs/extract/js/src/vm/JSScript.h:41:
In file included from src/third_party/mozjs/extract/js/src/vm/SharedImmutableStringsCache.h:22:
src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h:113:29: error: reference to non-static member function must be called
113 | : lock_(std::move(rhs.lock)), value_(std::move(rhs.value_)) {
| ~~~~^~~~
1 error generated.
---
databases/mongodb80/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/databases/mongodb80/Makefile b/databases/mongodb80/Makefile
index 714525833064..7feef28922a3 100644
--- a/databases/mongodb80/Makefile
+++ b/databases/mongodb80/Makefile
@@ -109,6 +109,12 @@ NOAVX_MAKE_ARGS= --experimental-optimization="-sandybridge"
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SASL_MAKE_ARGS= --use-sasl-client
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500026 # llvm 19.1.2 import
+USES+= llvm:max=18,build
+.endif
+
.include <bsd.port.pre.mk>
ALL_TARGET= install-servers