<pre style='margin:0'>
Aljaž Srebrnič (g5pw) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/39c1ea650cb203c05746aced6519c9f78d7bd1f8">https://github.com/macports/macports-ports/commit/39c1ea650cb203c05746aced6519c9f78d7bd1f8</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 39c1ea6 pure-gen: Bump the default gcc variant/dependency to gcc6 on macOS 10.5+.
</span>39c1ea6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 39c1ea650cb203c05746aced6519c9f78d7bd1f8
</span>Author: Albert Gräf <aggraef@gmail.com>
AuthorDate: Wed Mar 1 22:05:56 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> pure-gen: Bump the default gcc variant/dependency to gcc6 on macOS 10.5+.
</span>---
pure/pure-gen/Portfile | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/pure/pure-gen/Portfile b/pure/pure-gen/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 787bf1f..a65ff09 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/pure/pure-gen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/pure/pure-gen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,47 +23,53 @@ depends_lib-append port:gmp
</span>
# pure-gen uses gcc at runtime to parse C headers but the
# -fdirectives-only option it needs is only available in gcc 4.3 and up.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 gcc48 gcc49 description {Use gcc43 for runtime C header parsing} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 gcc48 gcc49 gcc6 description {Use gcc43 for runtime C header parsing} {
</span> depends_run-append path:bin/gcc-mp-4.3:gcc43
global gcc_version
set gcc_version 4.3
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 gcc48 gcc49 description {Use gcc44 for runtime C header parsing} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 gcc48 gcc49 gcc6 description {Use gcc44 for runtime C header parsing} {
</span> depends_run-append path:bin/gcc-mp-4.4:gcc44
global gcc_version
set gcc_version 4.4
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 gcc48 gcc49 description {Use gcc45 for runtime C header parsing} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 gcc48 gcc49 gcc6 description {Use gcc45 for runtime C header parsing} {
</span> depends_run-append path:bin/gcc-mp-4.5:gcc45
global gcc_version
set gcc_version 4.5
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 gcc48 gcc49 description {Use gcc46 for runtime C header parsing} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 gcc48 gcc49 gcc6 description {Use gcc46 for runtime C header parsing} {
</span> depends_run-append path:bin/gcc-mp-4.6:gcc46
global gcc_version
set gcc_version 4.6
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 gcc48 gcc49 description {Use gcc47 for runtime C header parsing} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 gcc48 gcc49 gcc6 description {Use gcc47 for runtime C header parsing} {
</span> depends_run-append path:bin/gcc-mp-4.7:gcc47
global gcc_version
set gcc_version 4.7
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gcc48 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc49 description {Use gcc48 for runtime C header parsing} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gcc48 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc49 gcc6 description {Use gcc48 for runtime C header parsing} {
</span> depends_run-append path:bin/gcc-mp-4.8:gcc48
global gcc_version
set gcc_version 4.8
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gcc49 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 description {Use gcc49 for runtime C header parsing} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gcc49 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 gcc6 description {Use gcc49 for runtime C header parsing} {
</span> depends_run-append path:bin/gcc-mp-4.9:gcc49
global gcc_version
set gcc_version 4.9
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gcc6 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 gcc49 description {Use gcc6 for runtime C header parsing} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append path:bin/gcc-mp-6:gcc6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global gcc_version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set gcc_version 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48] && ![variant_isset gcc49]} {
if {${os.platform} eq "darwin" && ${os.major} < 9} {
# gcc44 doesn't build for me on Tiger
default_variants +gcc43
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +gcc48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # gcc6 should work fine on all recent macOS versions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +gcc6
</span> }
}
</pre><pre style='margin:0'>
</pre>