diff options
Diffstat (limited to 'dev-db/mongodb/files/mongodb-6.0.2-sconstruct-changes.patch')
| -rw-r--r-- | dev-db/mongodb/files/mongodb-6.0.2-sconstruct-changes.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-6.0.2-sconstruct-changes.patch b/dev-db/mongodb/files/mongodb-6.0.2-sconstruct-changes.patch index 26d2b486ac68..8874ad210057 100644 --- a/dev-db/mongodb/files/mongodb-6.0.2-sconstruct-changes.patch +++ b/dev-db/mongodb/files/mongodb-6.0.2-sconstruct-changes.patch @@ -1,3 +1,20 @@ +wrt PATH: +""" +https://jira.mongodb.org/browse/SERVER-94430 Upstream respond: + +> we intentionally do not ingest the environment PATH as this makes build +> reproducibility and hermiticity much harder. Instead, you should set the +> absolute paths to the tools you want to use on the command line, instead of +> relying on the PATH. + +Gentoo bug https://bugs.gentoo.org/829340 + +In Gentoo, we have LLVM slotted and we put clang in /usr/lib/llvm/18/bin (or +whatever), not in /usr/bin, and if upstream strip PATH and construct it +themselves, they surely won't contain this location. + +So we add PATH backup for scons. +""" diff --git a/SConstruct b/SConstruct index 8367691..9061849 100644 --- a/SConstruct |
