ports/databases/mongodb70/files/patch-buildscripts_scons.py
Ronald Klop a677d700a6
databases/mongodb70: add new port
Mind that this is still a RC.

Changelog:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/

* based on databases/mongodb60
* disabled --use-system-icu as version from ports gives an error on start-up:
  https://www.mongodb.com/community/forums/t/mongodb-7-0-rc0-cycle-in-dependency-graph-loadicudata/224571
* patch to compile asio-master with c++20
* commented out 'metrics_client' in SConstruct, symbol is not available in the repo, doesn't seem to be needed for the build
2023-05-02 22:29:48 +02:00

25 lines
728 B
Python

--- buildscripts/scons.py.orig 2021-08-23 09:10:10 UTC
+++ buildscripts/scons.py
@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
-# pylint: disable=C0413
-from mongo.pip_requirements import verify_requirements, MissingRequirements
-
-try:
- verify_requirements('etc/pip/compile-requirements.txt')
-except MissingRequirements as ex:
- print(ex)
- sys.exit(1)
+## pylint: disable=C0413
+#from mongo.pip_requirements import verify_requirements, MissingRequirements
+#
+#try:
+# verify_requirements('etc/pip/compile-requirements.txt')
+#except MissingRequirements as ex:
+# print(ex)
+# sys.exit(1)
try:
import SCons.Script