diff options
Diffstat (limited to 'databases/mongosh/files/node-modules-patches')
2 files changed, 3 insertions, 3 deletions
diff --git a/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_binding.gyp b/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_binding.gyp index 089a54df37ae..c0f0668169eb 100644 --- a/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_binding.gyp +++ b/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_binding.gyp @@ -15,7 +15,7 @@ - ['(OS=="mac" or OS=="linux") and (kerberos_use_rtld!="true")', { + ['(OS=="mac" or OS=="linux" or OS=="freebsd") and (kerberos_use_rtld!="true")', { + 'include_dirs': [ -+ '/usr/local/include' ++ '%%LOCALBASE%%/include' + ], 'link_settings': { 'libraries': [ diff --git a/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp b/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp index c4ad4896eb5c..f29e77d4c33a 100644 --- a/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp +++ b/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp @@ -7,9 +7,9 @@ - 'link_settings': { 'libraries': ['-lmongocrypt'] } + 'include_dirs': [ + '/usr/include', -+ '/usr/local/include' ++ '%%LOCALBASE%%/include' + ], -+ 'link_settings': { 'libraries': ['-L/usr/local/lib -lmongocrypt'] } ++ 'link_settings': { 'libraries': ['-L%%LOCALBASE%%/lib -lmongocrypt'] } }], ['libmongocrypt_link_type=="static"', { 'conditions': [ |