<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre, #msg p { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[32179] trunk/dports/science/nco</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.macosforge.org/projects/macports/changeset/32179">32179</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2007-12-19 03:14:30 -0800 (Wed, 19 Dec 2007)</dd>
</dl>

<h3>Log Message</h3>
<pre>nco: maintainer update:

 * update to version 3.9.3
 * add variant +mpich2
 * add sha1 and rmd160 checksum

Closes #13633.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportssciencencoPortfile">trunk/dports/science/nco/Portfile</a></li>
<li><a href="#trunkdportssciencencofilespatchsrc_nco_Makefileindiff">trunk/dports/science/nco/files/patch-src_nco++_Makefile.in.diff</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportssciencencofilespatchmpncracdiff">trunk/dports/science/nco/files/patch-mpncra.c.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportssciencencoPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/science/nco/Portfile (32178 => 32179)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/nco/Portfile        2007-12-19 11:08:20 UTC (rev 32178)
+++ trunk/dports/science/nco/Portfile        2007-12-19 11:14:30 UTC (rev 32179)
</span><span class="lines">@@ -2,13 +2,15 @@
</span><span class="cx"> PortSystem      1.0
</span><span class="cx"> 
</span><span class="cx"> name               nco
</span><del>-version            3.9.2
</del><ins>+version            3.9.3
</ins><span class="cx"> platforms          darwin
</span><span class="cx"> maintainers        takeshi@mac.com
</span><span class="cx"> categories         science
</span><span class="cx"> description        The netCDF Operators
</span><span class="cx"> master_sites       http://${name}.sourceforge.net/src/
</span><del>-checksums          sha1 4a8a3e141d95cf4130ebac39fedf7e21d692b910
</del><ins>+checksums          md5 78b6821f883733a7808d5a482dec7076 \
+                   sha1 99e18c329b7a688505d13a3d4312b3fbdd468970 \
+                   rmd160 6514872d09dcce6d9c8545dc3586fa422474f6ea
</ins><span class="cx"> homepage           http://nco.sourceforge.net/
</span><span class="cx"> long_description \
</span><span class="cx">     Each NCO operator (e.g., ncks) takes netCDF or HDF input file(s), \
</span><span class="lines">@@ -33,7 +35,7 @@
</span><span class="cx"> depends_build      port:bison \
</span><span class="cx">                    port:m4
</span><span class="cx"> 
</span><del>-patchfiles         patch-src_nco++_Makefile.in.diff
</del><ins>+patchfiles         patch-src_nco++_Makefile.in.diff patch-mpncra.c.diff
</ins><span class="cx"> configure.env      MACOSX_DEPLOYMENT_TARGET=10.4 \
</span><span class="cx">                    HAVE_ANTLR=yes ANTLR_ROOT=${prefix}
</span><span class="cx"> configure.cppflags -I/usr/include/malloc
</span><span class="lines">@@ -46,3 +48,8 @@
</span><span class="cx">         eval xinstall -m 644 [glob ${worksrcpath}/doc/${f}] ${destroot}${prefix}/share/doc/${name}
</span><span class="cx">     }
</span><span class="cx"> }
</span><ins>+
+variant mpich2 {
+        depends_lib-append port:mpich2
+        configure.args-append --enable-mpi
+}
</ins></span></pre></div>
<a id="trunkdportssciencencofilespatchmpncracdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/science/nco/files/patch-mpncra.c.diff (0 => 32179)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/nco/files/patch-mpncra.c.diff                                (rev 0)
+++ trunk/dports/science/nco/files/patch-mpncra.c.diff        2007-12-19 11:14:30 UTC (rev 32179)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+--- src/nco/mpncra.c.orig        2007-12-19 10:11:55.000000000 +0900
++++ src/nco/mpncra.c        2007-12-19 10:12:16.000000000 +0900
+@@ -1204,7 +1204,7 @@

+     /* Add time variable to output file
+        NB: nco_cnv_arm_time_install() contains OpenMP critical region */
+-    if(CNV_ARM &amp;&amp; prg == ncrcat) (void)nco_cnv_arm_time_install(out_id,base_time_srt);
++    if(CNV_ARM &amp;&amp; prg == ncrcat) (void)nco_cnv_arm_time_install(out_id,base_time_srt,dfl_lvl);
+ #ifdef ENABLE_MPI
+     nco_close(out_id); 
+     printf(&quot;DEBUG: Mgr prc_rnk %d closed out file %d after fixing date, time \n&quot;, prc_rnk, out_id);
</ins></span></pre></div>
<a id="trunkdportssciencencofilespatchsrc_nco_Makefileindiff"></a>
<div class="modfile"><h4>Modified: trunk/dports/science/nco/files/patch-src_nco++_Makefile.in.diff (32178 => 32179)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/nco/files/patch-src_nco++_Makefile.in.diff        2007-12-19 11:08:20 UTC (rev 32178)
+++ trunk/dports/science/nco/files/patch-src_nco++_Makefile.in.diff        2007-12-19 11:14:30 UTC (rev 32179)
</span><span class="lines">@@ -1,9 +1,9 @@
</span><del>---- src/nco++/Makefile.in.orig        2007-09-08 13:31:20.000000000 +0900
-+++ src/nco++/Makefile.in        2007-09-08 14:05:38.000000000 +0900
-@@ -230,7 +230,7 @@
</del><ins>+--- src/nco++/Makefile.in.orig        2007-12-19 08:30:54.000000000 +0900
++++ src/nco++/Makefile.in        2007-12-19 08:34:04.000000000 +0900
+@@ -231,7 +231,7 @@
</ins><span class="cx">  
</span><span class="cx">  # fxm: Split off all sources except front-end into nco++ library
</span><del>- ncap2_SOURCES = Invoke.cc ncap2.cc ncap2_utl.cc sdo_utl.cc fmc_cls.cc prs_cls.cc NcapVarVector.cc ncoLexer.cpp ncoParser.cpp ncoTree.cpp
</del><ins>+ ncap2_SOURCES = Invoke.cc ncap2.cc ncap2_utl.cc sdo_utl.cc fmc_cls.cc prs_cls.cc NcapVar.cc NcapVarVector.cc ncoLexer.cpp ncoParser.cpp ncoTree.cpp
</ins><span class="cx"> -ncap2_LDADD = -lnco -lantlr
</span><span class="cx"> +ncap2_LDADD = ../nco/.libs/libnco.dylib -lantlr
</span><span class="cx">  ncap2_LDFLAGS = -L../nco
</span></span></pre>
</div>
</div>

</body>
</html>