<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e61b8da9ed9f904f38885aa8a7a4b259fc8ce946">https://github.com/macports/macports-ports/commit/e61b8da9ed9f904f38885aa8a7a4b259fc8ce946</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e61b8da9ed9 ncpp: Fix fetch phase per the guide
</span>e61b8da9ed9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e61b8da9ed9f904f38885aa8a7a4b259fc8ce946
</span>Author: Frank Schima <mf2k@macports.org>
AuthorDate: Fri Jan 28 15:25:35 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> ncpp: Fix fetch phase per the guide
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/64556
</span>---
science/ncpp/Portfile | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ncpp/Portfile b/science/ncpp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 196f87f8c4e..2beb6d37232 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ncpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ncpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup NCAR ncpp 2.2.6 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories science
license permissive
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,12 +26,8 @@ depends_lib-append port:hdf5 \
</span>
fetch.type git
<span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # I don't see any provisions for git submodules in MacPorts, so we have to clone by hand:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![file exists ${workpath}/${worksrcdir}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "${prefix}/bin/git clone --recursive ${git.url} ${workpath}/${worksrcdir}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath}/${worksrcdir} "${prefix}/bin/git checkout -q ${git.branch}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "git submodule update --init"
</span> }
use_configure no
</pre><pre style='margin:0'>
</pre>