mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
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
30 lines
882 B
Bash
30 lines
882 B
Bash
--- src/third_party/mozjs/gen-config.sh.orig 2022-08-05 16:21:29 UTC
|
|
+++ src/third_party/mozjs/gen-config.sh
|
|
@@ -29,6 +29,9 @@ case "$_Path" in
|
|
}
|
|
|
|
case "$_Path" in
|
|
+ "platform/aarch64/freebsd")
|
|
+ _CONFIG_OPTS="--host=aarch64-freebsd"
|
|
+ ;;
|
|
"platform/aarch64/linux")
|
|
_CONFIG_OPTS="--host=aarch64-linux"
|
|
;;
|
|
@@ -108,7 +111,7 @@ CFLAGS="$CFLAGS -D__STDC_FORMAT_MACROS" \
|
|
--disable-js-shell \
|
|
--disable-tests "$_CONFIG_OPTS"
|
|
|
|
-make recurse_export
|
|
+gmake recurse_export
|
|
|
|
cd ../../../..
|
|
|
|
@@ -159,7 +162,7 @@ find "$_Path/build" -name '*.cpp' |
|
|
find "$_Path/build" -name '*.cpp' |
|
|
while read unified_file ; do
|
|
echo "Processing $unified_file"
|
|
- sed $SEDOPTION \
|
|
+ gsed $SEDOPTION \
|
|
-e 's|#include ".*/js/src/|#include "|' \
|
|
-e 's|#error ".*/js/src/|#error "|' \
|
|
"$unified_file"
|