1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-14 07:49:16 -04:00
ports/databases/mongosh/files/patch-scripts_prep-fle-addon.sh
2025-02-21 00:27:21 +01:00

16 lines
656 B
Bash

--- scripts/prep-fle-addon.sh.orig 2024-10-28 16:25:21 UTC
+++ scripts/prep-fle-addon.sh
@@ -20,6 +20,7 @@ set -x
# This isn't a lot, but hopefully after https://jira.mongodb.org/browse/WRITING-7164
# we'll be able to simplify this further.
+if [ `uname` != FreeBSD ]; then
cd "$(dirname "$0")"/..
MONGOSH_ROOT_DIR="$PWD"
BUILDROOT="$MONGOSH_ROOT_DIR"/tmp/fle-buildroot
@@ -77,4 +78,5 @@ if [ x"$FLE_NODE_SOURCE_PATH" != x"" ]; then
cp -rv ./deps/lib*/*-static* "$FLE_NODE_SOURCE_PATH"/deps/lib
cp -rv ./deps/include/*kms* "$FLE_NODE_SOURCE_PATH"/deps/include
cp -rv ./deps/include/*mongocrypt* "$FLE_NODE_SOURCE_PATH"/deps/include
+fi
fi