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

</pre>
<p><a href="https://github.com/macports/mpbb/commit/258d416705164f7f2a272ef3d5eb520d2a484229">https://github.com/macports/mpbb/commit/258d416705164f7f2a272ef3d5eb520d2a484229</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 258d416  Exclude ports that don't support ppc on 10.5
</span>258d416 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 258d416705164f7f2a272ef3d5eb520d2a484229
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Jan 9 22:24:34 2017 +1100

<span style='display:block; white-space:pre;color:#404040;'>    Exclude ports that don't support ppc on 10.5
</span>---
 mpbb-list-subports | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mpbb-list-subports b/mpbb-list-subports
</span><span style='display:block; white-space:pre;color:#808080;'>index 44cbf58..56df587 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/mpbb-list-subports
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mpbb-list-subports
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,7 +29,6 @@ print-subports() {
</span>     # shellcheck disable=SC2154
 
     os_version="$(sw_vers -productVersion | cut -d . -f 1-2)"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    is_64bit_capable="$(sysctl -n hw.cpu64bit_capable)"
</span>     # $optoin_prefix is set in mpbb
     # shellcheck disable=SC2154
     ports=$("${option_prefix}/bin/port" -q info --index --line --name "${portname}" "subportof:${portname}" 2>/dev/null) || return
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,11 +60,17 @@ print-subports() {
</span>             fi
         fi
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if [[ $exclude -eq 0 && "${os_version}" = "10.6" && "${is_64bit_capable}" = "0" ]]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if [[ $exclude -eq 0 && ("${os_version}" = "10.6" || "${os_version}" = "10.5") ]]; then
</span>             supported_archs=$("${option_prefix}/bin/port-tclsh" "${thisdir}/tools/supported-archs.tcl" "${port}")
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            if [[ -n "${supported_archs}" && ! ("${supported_archs}" == *"x86_64"* && "${supported_archs}" == *"i386"*) ]]; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                exclude=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                exclude_reasons+=("the ${os_version}_x86_64 builder will build it")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if [[ -n "${supported_archs}" ]]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                is_64bit_capable="$(sysctl -n hw.cpu64bit_capable)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if [[ "${os_version}" = "10.6" && "${is_64bit_capable}" = "0" && ! ("${supported_archs}" == *"x86_64"* && "${supported_archs}" == *"i386"*) ]]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    exclude=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    exclude_reasons+=("the ${os_version}_x86_64 builder will build it")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                elif [[ "${os_version}" = "10.5" && "${supported_archs}" != *"ppc"* ]]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    exclude=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    exclude_reasons+=("it does not support the ppc arch")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                fi
</span>             fi
         fi
 
</pre><pre style='margin:0'>

</pre>