<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/65764f696939ba4614131a2b385cfa7fa38e7d32">https://github.com/macports/macports-ports/commit/65764f696939ba4614131a2b385cfa7fa38e7d32</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 65764f6 octave: have OCTAVE_VERSION return correct value
</span>65764f6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 65764f696939ba4614131a2b385cfa7fa38e7d32
</span>Author: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
AuthorDate: Sun Jun 10 09:53:09 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> octave: have OCTAVE_VERSION return correct value
</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/56624
</span>---
math/octave/Portfile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave/Portfile b/math/octave/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 119e0f1..c4c4ca8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@ compiler.blacklist-append {*gcc-4.6} {clang < 700}
</span> name octave
version 4.4.0
set package_version 4.x.x
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories math science
platforms darwin
license GPL-3+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -97,6 +97,15 @@ post-patch {
</span> reinplace \
"s|__MACPORTS_canonical_host_type__|${short_host_name}|g" \
build-aux/subst-default-vals.in.sh
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/56624
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set version_file libinterp/version.in.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set version_file liboctave/version.in.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|%OCTAVE_VERSION%|\"${version}\"|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${version_file}
</span> }
pre-configure {
</pre><pre style='margin:0'>
</pre>