<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/b11ecae4e8e6dc9634fd64c7ae50a83cb4c6d634">https://github.com/macports/macports-ports/commit/b11ecae4e8e6dc9634fd64c7ae50a83cb4c6d634</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 b11ecae apple-gcc42: fix universal issues on older platforms
</span>b11ecae is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b11ecae4e8e6dc9634fd64c7ae50a83cb4c6d634
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Jan 12 05:10:20 2017 +1100
<span style='display:block; white-space:pre;color:#404040;'> apple-gcc42: fix universal issues on older platforms
</span>---
lang/apple-gcc42/Portfile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/apple-gcc42/Portfile b/lang/apple-gcc42/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4e0f2f8..264e157 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/apple-gcc42/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/apple-gcc42/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,8 +72,12 @@ checksums gcc-4.2.1-4.2.4-v2.patch \
</span> depends_run port:gcc_select
use_configure no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants-append +universal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} >= 9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} ne "ppc" && ${build_arch} ne "ppc64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +universal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
minimum_xcodeversions {8 2.5}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -90,8 +94,10 @@ if {${os.platform} eq "darwin" && ${os.major} > 15} {
</span> # Building universal with a ppc slice doesn't work (Tried on Leopard)
if {${build_arch} eq "i386" || ${build_arch} eq "x86_64"} {
supported_archs i386 x86_64
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_archs i386 x86_64
</span> } elseif {${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} {
supported_archs ppc ppc64
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_archs ppc ppc64
</span> }
select.group gcc
</pre><pre style='margin:0'>
</pre>