<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/c1b73de65c83605b5ef22fbd787195d64e9b0b19">https://github.com/macports/macports-ports/commit/c1b73de65c83605b5ef22fbd787195d64e9b0b19</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 c1b73de octave: needs newer RANLIB on snowleopard
</span>c1b73de is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c1b73de65c83605b5ef22fbd787195d64e9b0b19
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sat Sep 30 15:05:45 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> octave: needs newer RANLIB on snowleopard
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/54228
</span>---
math/octave/Portfile | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
<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 bf2aea5..cbd6660 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;'>@@ -114,8 +114,16 @@ pre-patch {
</span> # avoid depends_build-append port:coreutils
configure.env-append MKDIR_P="/bin/mkdir -p"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# avoid depends_build-append port:cctools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env-append RANLIB=/usr/bin/ranlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} > 10 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # avoid depends_build-append port:cctools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append RANLIB=/usr/bin/ranlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ranlib on older systems is too old to handle newer clang output
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/54228
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:cctools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append RANLIB=${prefix}/bin/ranlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# main octave port lists as a depends_lib
# configure.ac list it among the "[p]rograms used in Makefiles"
</pre><pre style='margin:0'>
</pre>