<!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" />
<title>[127783] trunk/dports</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { 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 { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#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>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/127783">127783</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2014-11-03 18:40:54 -0800 (Mon, 03 Nov 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>pure, pure-docs: update to 0.64 (#45733)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangpurePortfile">trunk/dports/lang/pure/Portfile</a></li>
<li><a href="#trunkdportspurepuredocsPortfile">trunk/dports/pure/pure-docs/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportslangpurefilespure064atshotfixesdiff">trunk/dports/lang/pure/files/pure-0.64-ats-hotfixes.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangpurePortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/pure/Portfile (127782 => 127783)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/pure/Portfile        2014-11-04 02:27:27 UTC (rev 127782)
+++ trunk/dports/lang/pure/Portfile        2014-11-04 02:40:54 UTC (rev 127783)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> PortGroup               bitbucket 1.0
</span><span class="cx"> 
</span><span class="cx"> # Keep the versions of pure and pure-docs in sync.
</span><del>-bitbucket.setup         purelang pure-lang 0.63 pure-
</del><ins>+bitbucket.setup         purelang pure-lang 0.64 pure-
</ins><span class="cx"> name                    pure
</span><span class="cx"> categories              lang
</span><span class="cx"> platforms               darwin
</span><span class="lines">@@ -32,8 +32,8 @@
</span><span class="cx"> bitbucket.tarball_from  downloads
</span><span class="cx"> distname                ${name}-${version}
</span><span class="cx"> 
</span><del>-checksums               rmd160  6f2d3e0da2ee58d09e9c628d7297610445c6f8a9 \
-                        sha256  33acb2d560b21813f5e856973b493d9cfafba82bd6f539425ce07aa22f84ee29
</del><ins>+checksums               rmd160  fa5d57b94fad999ada281edaf30db4212a0a28ae \
+                        sha256  efd55229342aec9d79e8fa4732a30f140e1773064f3869abde053e01468f7b07
</ins><span class="cx"> 
</span><span class="cx"> set llvm_version        3.4
</span><span class="cx"> set llvm_prefix         ${prefix}/libexec/llvm-${llvm_version}
</span><span class="lines">@@ -63,6 +63,9 @@
</span><span class="cx">     # Prevent build failure when old llvm port is installed
</span><span class="cx">     configure.cppflags          -I${llvm_prefix}/include ${configure.cppflags}
</span><span class="cx">     configure.ldflags           -L${llvm_prefix}/lib ${configure.ldflags}
</span><ins>+
+    # Last-minute fixes to the ATS inlining support
+    patchfiles-append           pure-0.64-ats-hotfixes.diff
</ins><span class="cx">     
</span><span class="cx">     platform macosx {
</span><span class="cx">         depends_run-replace     port:w3m port:openbrowser
</span><span class="lines">@@ -86,6 +89,11 @@
</span><span class="cx">             ${docdir}
</span><span class="cx">         copy ${destroot.dir}/examples ${destroot}${prefix}/share/examples/${name}
</span><span class="cx">     }
</span><ins>+
+    variant pcre description {Replace POSIX regular expression support with PCRE support} {
+        depends_lib-append      port:pcre
+        configure.args-append   --with-pcre
+    }
</ins><span class="cx">     
</span><span class="cx">     test.run                    yes
</span><span class="cx">     test.target                 check
</span></span></pre></div>
<a id="trunkdportslangpurefilespure064atshotfixesdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/pure/files/pure-0.64-ats-hotfixes.diff (0 => 127783)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/pure/files/pure-0.64-ats-hotfixes.diff                                (rev 0)
+++ trunk/dports/lang/pure/files/pure-0.64-ats-hotfixes.diff        2014-11-04 02:40:54 UTC (rev 127783)
</span><span class="lines">@@ -0,0 +1,74 @@
</span><ins>+diff -r 0606383af4b0 pure/interpreter.cc
+--- interpreter.cc        Wed Oct 29 00:02:26 2014 +0100
++++ interpreter.cc        Sat Nov 01 18:23:46 2014 +0100
+@@ -2586,8 +2586,10 @@
+      Fortran.

+    - &quot;-*- ats -*-&quot; selects ATS (PURE_ATSCC environment variable, patscc by
+-     default). Contributed by Barry Schwartz &lt;sortsmill@crudfactory.com&gt;, see
+-     http://www.ats-lang.org/.
++     default). You can also set the C compiler to be used by patscc with the
++     PURE_ATSCCOMP environment variable (either clang or gcc by default,
++     depending on the value of PURE_ATSCC). Contributed by Barry Schwartz
++     &lt;sortsmill@crudfactory.com&gt;, see http://www.ats-lang.org/.

+    - &quot;-*- dsp:name -*-&quot; selects Faust (PURE_FAUST environment variable, faust
+      by default), where 'name' denotes the name of the Faust dsp, which is
+@@ -2685,28 +2687,39 @@
+   } else if (tag == &quot;ats&quot;) {
+     env = &quot;PURE_ATSCC&quot;;
+     // The default command is for ATS2-Postiats, which uses gcc as its C
+-    // compiler by default. We prefer to use clang instead (set by means of
+-    // the PATSCCOMP environment variable). If you have a working dragonegg
+-    // plugin installed, you can still override this by setting the PURE_ATSCC
+-    // variable to 'patscc -fplugin=dragonegg'. NOTE: In any case you should
+-    // set the PATSHOME environment variable as explained in the ATS2
+-    // installation instructions.
++    // compiler by default. We prefer to use clang instead. If you have a
++    // working dragonegg plugin installed, you can still override this by
++    // setting the PURE_ATSCC variable to 'patscc -fplugin=dragonegg'. NOTE:
++    // In any case you should set the PATSHOME environment variable as
++    // explained in the ATS2 installation instructions.
+     drv = &quot;patscc&quot;;
+-    args = &quot; -emit-llvm -c &quot;;
+     ext = &quot;.dats&quot;;
+     intermediate_ext = &quot;_dats.c&quot;;
+     remove_intermediate = true;
+-    // We only override patscc's default C compiler if neither PURE_ATSCC nor
+-    // PATSCCOMP has been set, so that the user still has full control over
+-    // which AST and C compilers will be used.
+-    if (!getenv(&quot;PURE_ATSCC&quot;) &amp;&amp; !getenv(&quot;PATSCCOMP&quot;)) {
+-      static char *patsccomp = NULL;
+-      if (!patsccomp) {
+-        string ccomp = string(&quot;PATSCCOMP=&quot;) + clang + &quot; -emit-llvm -std=c99 -D_XOPEN_SOURCE -I${PATSHOME} -I${PATSHOME}/ccomp/runtime&quot;;
+-        patsccomp = strdup(ccomp.c_str());
+-        putenv(patsccomp);
+-      }
+-      args = &quot; -c &quot;;
++    // Unless dragonegg is being used or PURE_ATSCCOMP has been set
++    // explicitly, we override patscc's default C compiler so that clang is
++    // used to generate bitcode. If needed, this gives the user full control
++    // over which AST and C compilers will be used, and the options they
++    // should be invoked with. The options needed for bitcode compilation are
++    // always added, however.
++    char *atscc = getenv(env);
++    char *atsccomp = getenv(&quot;PURE_ATSCCOMP&quot;);
++    // Figure out the default C compiler to use and set up command line
++    // arguments accordingly.
++    string cc = clang+ &quot; -emit-llvm&quot;;
++    args = &quot; -atsccomp \&quot;${PURE_ATSCCOMP}\&quot; -c &quot;;
++    if (atscc &amp;&amp; strstr(atscc, &quot;dragonegg&quot;)) {
++      // Use dragonegg instead.
++      cc = &quot;gcc&quot;;
++      args = &quot; -atsccomp \&quot;${PURE_ATSCCOMP}\&quot; -emit-llvm -c &quot;;
++    }
++    if (!atsccomp) {
++      // Set up a reasonable default for the PURE_ATSCCOMP variable.
++      string ccomp = string(&quot;PURE_ATSCCOMP=&quot;) + cc + &quot; -std=c99 -D_XOPEN_SOURCE -I${PATSHOME} -I${PATSHOME}/ccomp/runtime&quot;;
++      atsccomp = strdup(ccomp.c_str());
++      putenv(atsccomp);
++      bool vflag = (verbose&amp;verbosity::compiler) != 0;
++      if (vflag) std::cerr &lt;&lt; atsccomp &lt;&lt; '\n';
+     }
+   } else if (tag == &quot;dsp&quot;) {
+     env = &quot;PURE_FAUST&quot;; drv = &quot;faust -double&quot;;
</ins></span></pre></div>
<a id="trunkdportspurepuredocsPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/pure/pure-docs/Portfile (127782 => 127783)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/pure/pure-docs/Portfile        2014-11-04 02:27:27 UTC (rev 127782)
+++ trunk/dports/pure/pure-docs/Portfile        2014-11-04 02:40:54 UTC (rev 127783)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> PortGroup                       pure 1.0
</span><span class="cx"> 
</span><span class="cx"> # Keep the versions of pure and pure-docs in sync.
</span><del>-pure.setup                      docs 0.63
</del><ins>+pure.setup                      docs 0.64
</ins><span class="cx"> categories-append               lang
</span><span class="cx"> platforms                       darwin
</span><span class="cx"> maintainers                     ryandesign gmail.com:aggraef
</span><span class="lines">@@ -17,8 +17,8 @@
</span><span class="cx"> 
</span><span class="cx"> long_description                ${name} is an offline copy of the ${description}.
</span><span class="cx"> 
</span><del>-checksums                       rmd160  55698d8c47c52c088446f5b32c2304c5c1f4414c \
-                                sha256  fbb6933e35d321b3531343263e6af0cae92c86c56bcb1870b416a7c5e046456c
</del><ins>+checksums                       rmd160  78fa7d656527538c1053dfc46238e6643554fd85 \
+                                sha256  a140456f7d6feff8a15f5505a8fa3f9376afef88f1831ca98b93dc1d1764d110
</ins><span class="cx"> 
</span><span class="cx"> platform macosx {
</span><span class="cx">     patchfiles                  patch-openbrowser.diff
</span></span></pre>
</div>
</div>

</body>
</html>