<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e0dcac75266096c7d5c6c1070a3549ca70a6c6ce">https://github.com/macports/macports-ports/commit/e0dcac75266096c7d5c6c1070a3549ca70a6c6ce</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 e0dcac75266 esmf: fix broken libesmftrace_preload.dylib
</span>e0dcac75266 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e0dcac75266096c7d5c6c1070a3549ca70a6c6ce
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Sat Aug 1 18:16:36 2020 +0900
<span style='display:block; white-space:pre;color:#404040;'> esmf: fix broken libesmftrace_preload.dylib
</span>---
science/esmf/Portfile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/esmf/Portfile b/science/esmf/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index db2f5b39dbd..a06b91b33f6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/esmf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/esmf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,7 +11,7 @@ mpi.setup
</span> mpi.enforce_variant netcdf-fortran
github.setup esmf-org esmf 8_0_1 ESMF_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories science devel
platforms darwin
license UoI-NCSA
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -205,6 +205,7 @@ post-destroot {
</span> xinstall -d ${destroot}${prefix}/share/${name}
file copy ${worksrcpath}/src ${destroot}${prefix}/share/${name}
system -W ${destroot}${prefix}/lib "ranlib libesmf.a"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${destroot}${prefix}/lib "ranlib libesmftrace_static.a"
</span> foreach l {libesmf.dylib libesmf_fullylinked.dylib} {
if {[file exists ${destroot}${prefix}/lib/${l}]} {
system -W ${destroot}${prefix}/lib "
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -212,6 +213,14 @@ post-destroot {
</span> "
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set l "libesmftrace_preload.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${destroot}${prefix}/lib/${l}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${destroot}${prefix}/lib "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install_name_tool -id ${prefix}/lib/${l} ${l}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ old=`otool -L ${l} | grep libesmf\.dylib | cut -d ' ' -f 1`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install_name_tool -change \${old} ${prefix}/lib/libesmf.dylib ${l}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> foreach b {Info InfoC Regrid RegridWeightGen Script2Unstruct WebServController} {
if {[file exists ${destroot}${prefix}/bin/ESMF_${b}]} {
system -W ${destroot}${prefix}/bin "
</pre><pre style='margin:0'>
</pre>