ports/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp
Fabien Amelinck 625fc0d99b databases/mongosh: update to 2.5.5
Changelog: https://github.com/mongodb-js/mongosh/releases

PR:		288152
Reported by:	Fabien Amelinck <fabien.amelinck+freebsd@advens.fr> (maintainer)
2025-08-07 16:48:47 +09:00

16 lines
554 B
Python

--- node_modules/mongodb-client-encryption/binding.gyp.orig 2024-11-15 19:23:54 UTC
+++ node_modules/mongodb-client-encryption/binding.gyp
@@ -42,7 +42,11 @@
}
}],
['libmongocrypt_link_type=="dynamic"', {
- 'link_settings': { 'libraries': ['-lmongocrypt'] }
+ 'include_dirs': [
+ '/usr/include',
+ '%%LOCALBASE%%/include'
+ ],
+ 'link_settings': { 'libraries': ['-L%%LOCALBASE%%/lib -lmongocrypt'] }
}],
['libmongocrypt_link_type=="static"', {
'conditions': [