<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/78b53255d0af70345d95a1e275f998c01b02c196">https://github.com/macports/macports-ports/commit/78b53255d0af70345d95a1e275f998c01b02c196</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 78b53255d0af70345d95a1e275f998c01b02c196
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 30 15:26:25 2023 -0600

<span style='display:block; white-space:pre;color:#404040;'>    mongodb*: Link python module files into workpath
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Prevents unexpected build success when required python modules have not
</span><span style='display:block; white-space:pre;color:#404040;'>    been declared in the Portfile but are present in distpath.
</span>---
 databases/mongodb-devel/Portfile | 10 +++++++++-
 databases/mongodb/Portfile       | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mongodb-devel/Portfile b/databases/mongodb-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 40329ec851d..1271de363c6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/mongodb-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mongodb-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -125,6 +125,14 @@ depends_lib         port:curl \
</span>                     port:zlib \
                     port:zstd
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    file mkdir ${workpath}/distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach distfile_and_tag [lrange ${distfiles} 1 end] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set distfile [lindex [split ${distfile_and_tag} {:}] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ln -s ${distpath}/${distfile} ${workpath}/distfiles/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patchfiles          compile.req.patch \
                     platform.req.patch
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -139,7 +147,7 @@ pre-configure {
</span> configure.env       "MAKEFLAGS=-j${build.jobs}"
 configure.cmd       ${workpath}/venv/bin/pip
 configure.pre_args  install
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args      --find-links [shellescape ${distpath}] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args      --find-links ${workpath}/distfiles \
</span>                     --no-index \
                     --requirement etc/pip/compile-requirements.txt \
                     --verbose \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mongodb/Portfile b/databases/mongodb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b4b324101d4..0a3d32b77f1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/mongodb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mongodb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -143,6 +143,14 @@ depends_lib         port:curl \
</span>                     port:zlib \
                     port:zstd
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    file mkdir ${workpath}/distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach distfile_and_tag [lrange ${distfiles} 1 end] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set distfile [lindex [split ${distfile_and_tag} {:}] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ln -s ${distpath}/${distfile} ${workpath}/distfiles/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patchfiles          compile.req.patch \
                     platform.req.patch
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -157,7 +165,7 @@ pre-configure {
</span> configure.env       "MAKEFLAGS=-j${build.jobs}"
 configure.cmd       ${workpath}/venv/bin/pip
 configure.pre_args  install
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args      --find-links [shellescape ${distpath}] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args      --find-links ${workpath}/distfiles \
</span>                     --no-index \
                     --requirement etc/pip/compile-requirements.txt \
                     --verbose \
</pre><pre style='margin:0'>

</pre>