aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald Klop <ronald@FreeBSD.org>2024-10-29 07:48:19 +0000
committerRonald Klop <ronald@FreeBSD.org>2024-10-29 22:14:42 +0000
commitd6e2af38f267f4527173187faefe962c8fed40e8 (patch)
treed340f549ed38e7e71d0b9070b5b1d442d96f8b48
parentd8eeb07e62ca8547db889557610f1fc543542348 (diff)
downloadports-d6e2af38f267f4527173187faefe962c8fed40e8.tar.gz
ports-d6e2af38f267f4527173187faefe962c8fed40e8.zip
databases/mongodb60: unbreak on 15 + llvm 19.1.2
stick to <= llvm18 on FreeBSD 15 fixes: [00:05:15] In file included from src/third_party/mozjs/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp:2: [00:05:15] In file included from src/third_party/mozjs/extract/js/src/vm/ArrayBufferObject.cpp:7: [00:05:15] In file included from src/third_party/mozjs/extract/js/src/vm/ArrayBufferObject-inl.h:13: [00:05:15] In file included from src/third_party/mozjs/extract/js/src/vm/ArrayBufferObject.h:20: [00:05:15] In file included from src/third_party/mozjs/extract/js/src/vm/Runtime.h:55: [00:05:15] In file included from src/third_party/mozjs/extract/js/src/vm/Caches.h:22: [00:05:15] In file included from src/third_party/mozjs/extract/js/src/vm/JSScript.h:46: [00:05:15] In file included from src/third_party/mozjs/extract/js/src/vm/SharedImmutableStringsCache.h:22: [00:05:15] src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h:113:29: error: reference to non-static member function must be called [00:05:15] 113 | : lock_(std::move(rhs.lock)), value_(std::move(rhs.value_)) { [00:05:15] | ~~~~^~~~
-rw-r--r--databases/mongodb60/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile
index 537ead1f1f6c..bb924d47d7ca 100644
--- a/databases/mongodb60/Makefile
+++ b/databases/mongodb60/Makefile
@@ -98,6 +98,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-core