<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5f24ce2d0161db6548d589335d34cc52fa1723c8">https://github.com/macports/macports-ports/commit/5f24ce2d0161db6548d589335d34cc52fa1723c8</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 5f24ce2d016 octave pg: catch sysctl errors
</span>5f24ce2d016 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 5f24ce2d0161db6548d589335d34cc52fa1723c8
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Mar 7 10:22:53 2022 +1100

<span style='display:block; white-space:pre;color:#404040;'>    octave pg: catch sysctl errors
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/62753
</span>---
 _resources/port1.0/group/octave-1.0.tcl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/octave-1.0.tcl b/_resources/port1.0/group/octave-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 5bef65726e7..8547de0580f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/octave-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/octave-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -163,13 +163,13 @@ pre-destroot {
</span>     destroot.pre_args -q -f -H --eval
 
     if { ${os.arch} eq "i386" } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if { ${os.major} >= 9 && [sysctl hw.cpu64bit_capable] == 1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if { ${os.major} >= 9 && ![catch {sysctl hw.cpu64bit_capable} result] && $result == 1 } {
</span>             set short_host_name x86_64-apple-${os.platform}${os.major}.x.x
         } else {
             set short_host_name i686-apple-${os.platform}${os.major}.x.x
         }
     } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if { ${os.major} >= 9 && [sysctl hw.cpu64bit_capable] == 1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if { ${os.major} >= 9 && ![catch {sysctl hw.cpu64bit_capable} result] && $result == 1 } {
</span>             set short_host_name powerpc64-apple-${os.platform}${os.major}.x.x
         } else {
             set short_host_name powerpc-apple-${os.platform}${os.major}.x.x
</pre><pre style='margin:0'>

</pre>