ports/databases/mongodb60/files/patch-boost179-link-fix
Ronald Klop cbde7a6395
databases/mongodb60: update to 6.0.2
Summary:
- automate mozjs configuration
  - enables powerpc64le support
  - overwrites the upstream amd64 configuration which fixes the build
  - removes almost 1 MB of patches for aarch64
- use more system libs and llvm-ar (thanks to dizzy@)
- Fix removal of (lib)zstd/zstandard directory which fixes the build on all supported platforms
- change my maintainer email to @FreeBSD.org

changes: https://www.mongodb.com/docs/manual/release-notes/6.0/#6.0.2---sep-28--2022

PR:	266587
Tested by:	dizzy (libs), pkubaj (powerpc64le)
Approved by:	pkubaj (mentor), rene (mentor)
Co-Authored-By:	dizzy, pkubaj
Differential Revision: https://reviews.freebsd.org/D37130
2022-10-26 18:18:34 +02:00

21 lines
688 B
Text

--- SConstruct
+++ SConstruct
@@ -3511,17 +3511,11 @@ def doConfigure(myenv):
"BOOST_LOG_NO_SHORTHAND_NAMES",
"BOOST_LOG_USE_NATIVE_SYSLOG",
"BOOST_LOG_WITHOUT_THREAD_ATTR",
+ "BOOST_LOG_DYN_LINK",
"ABSL_FORCE_ALIGNED_ACCESS",
]
)
- if link_model.startswith("dynamic") and not link_model == 'dynamic-sdk':
- conf.env.AppendUnique(
- CPPDEFINES=[
- "BOOST_LOG_DYN_LINK",
- ]
- )
-
if use_system_version_of_library("boost"):
if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
myenv.ConfError("can't find boost headers")