diff options
author | Ronald Klop <ronald@FreeBSD.org> | 2025-07-06 10:40:29 +0200 |
---|---|---|
committer | Ronald Klop <ronald@FreeBSD.org> | 2025-07-06 10:45:43 +0200 |
commit | 449d5591224a958913d3302940b341950cc42fdd (patch) | |
tree | 6e12d056886c213cdcc76cc299d22eab1d8a00b7 /databases | |
parent | x11-wm/cagebreak: update to 3.0.1 (diff) |
databases/mongodb50: fix build on 13.5 and 14.3 (llvm19)
+ Decrease the amount of warnings in the build log.
(cherry picked from commit 8a833539200964f907ed25712838be765ca71917)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mongodb50/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/databases/mongodb50/Makefile b/databases/mongodb50/Makefile index 3ef2b2dae6e4..f7a4ead70e91 100644 --- a/databases/mongodb50/Makefile +++ b/databases/mongodb50/Makefile @@ -32,7 +32,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libyaml-cpp.so:devel/yaml-cpp \ libzstd.so:archivers/zstd -USES= compiler:c++17-lang cpe python:build scons shebangfix +USES= compiler:c++17-lang cpe llvm:max=18,build python:build scons shebangfix USE_RC_SUBR= mongod USE_GITHUB= yes @@ -68,7 +68,8 @@ MAKE_ARGS= --cxx-std=17 \ MONGO_VERSION=${DISTVERSION} \ VERBOSE=on -CFLAGS+= -DBOOST_NO_CXX98_FUNCTION_BASE +CFLAGS+= -DBOOST_NO_CXX98_FUNCTION_BASE \ + -Wno-deprecated-builtins CONFLICTS_INSTALL= mongodb[0-9][0-9] # etc/mongodb.conf.sample @@ -90,12 +91,6 @@ SASL_MAKE_ARGS= --use-sasl-client SSL_USES= ssl SSL_MAKE_ARGS= --ssl -.include <bsd.port.options.mk> - -.if ${OPSYS} == FreeBSD && (${OSREL:R} >= 15 && ${OSVERSION} >= 1500026) -USES+= llvm:max=18,build -.endif - .include <bsd.port.pre.mk> .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le |