<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/45bd3c55d4d2746f8fb5f04ff5d6d982ca634f69">https://github.com/macports/macports-ports/commit/45bd3c55d4d2746f8fb5f04ff5d6d982ca634f69</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 45bd3c55d4d2746f8fb5f04ff5d6d982ca634f69
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Apr 28 13:33:20 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> foundationdb: append to configure.env instead of setting it
</span>---
databases/foundationdb/Portfile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/foundationdb/Portfile b/databases/foundationdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e644df20bdb..524a89d39df 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/foundationdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/foundationdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,13 +25,15 @@ checksums rmd160 2bf9a258d5db140d232fb6355fc810010824c014 \
</span> sha256 034f69d4ddf7faccd7cae2a6438d64643ac98a3a9c7b3e6ed2a03105c480df95 \
size 9694306
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Required python version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver 3.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver_nodot [string map {. {}} ${py_ver}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:mono
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append port:python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:python${py_ver_nodot}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# make sure FoundationDB uses python from the python3.9 port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env PYTHON_ROOT_DIR=${prefix}/bin/python3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# make sure FoundationDB uses python from the selected python port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append PYTHON_ROOT_DIR=${prefix}/bin/python${py_ver}
</span>
# The FoundationDB build can easily run out of memory and crash,
# so the recommendation is to use "ninja -j1" when building.
</pre><pre style='margin:0'>
</pre>