ports/databases/mongodb70/files/patch-src_third__party_mozjs_get-sources.sh
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

14 lines
589 B
Bash

--- src/third_party/mozjs/get-sources.sh.orig 2022-09-08 09:53:27 UTC
+++ src/third_party/mozjs/get-sources.sh
@@ -12,9 +12,9 @@ LIB_GIT_REPO=git@github.com:mongodb-forks/spidermonkey
LIB_GIT_REVISION=82aac6af18abcd5bf188afbc821779ccb0ca0902
LIB_GIT_REPO=git@github.com:mongodb-forks/spidermonkey.git
-DEST_DIR=$(git rev-parse --show-toplevel)/src/third_party/mozjs
+DEST_DIR=$(realpath .)
-LIB_GIT_DIR=$(mktemp -d /tmp/import-spidermonkey.XXXXXX)
+LIB_GIT_DIR=$(mktemp -d /var/tmp/import-spidermonkey.XXXXXX)
trap "rm -rf $LIB_GIT_DIR" EXIT
git clone $LIB_GIT_REPO $LIB_GIT_DIR