mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 08:19:13 -04:00
Changes: https://www.mongodb.com/docs/v7.0/release-notes/7.0/#7.0.20---apr-29--2025 Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-20-is-released/321461?u=r_k - refactored do-configure to use HAS_CONFIGURE which properly passes CONFIGURE_ENV - updates spidermonkey to MozJS 128.8-ESR - needs cbindgen now - pet portclippy and portfmt (moved vars around) - replaced multiple paths with MOZJS_WRKSRC - removed a mozjs patch which is in upstream now
36 lines
932 B
Bash
36 lines
932 B
Bash
--- src/third_party/mozjs/gen-config.sh.orig 2025-05-13 16:37:03 UTC
|
|
+++ src/third_party/mozjs/gen-config.sh
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
|
|
set -e
|
|
set -v
|
|
@@ -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"
|
|
;;
|
|
@@ -111,7 +114,7 @@ CFLAGS="$CFLAGS -D__STDC_FORMAT_MACROS" \
|
|
--disable-wasm-moz-intgemm \
|
|
"$_CONFIG_OPTS"
|
|
|
|
-make recurse_export
|
|
+gmake recurse_export
|
|
|
|
cd ../../../..
|
|
|
|
@@ -166,7 +169,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"
|