<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/41c70edfb1bd4e23191ee69e2ea18fff7910d205">https://github.com/macports/macports-ports/commit/41c70edfb1bd4e23191ee69e2ea18fff7910d205</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 41c70ed gcc: Fix the conflicts between the production and devel ports
</span>41c70ed is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 41c70edfb1bd4e23191ee69e2ea18fff7910d205
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sun Oct 14 20:17:09 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> gcc: Fix the conflicts between the production and devel ports
</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/57384
</span>---
lang/gcc7/Portfile | 9 +++++++--
lang/gcc8/Portfile | 3 +++
lang/gcc9/Portfile | 8 +++++++-
lang/libgcc/Portfile | 2 --
4 files changed, 17 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc7/Portfile b/lang/gcc7/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fbc2084..3f9bb35 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,9 +48,9 @@ depends_lib port:cctools \
</span> port:mpfr
depends_run port:gcc_select
if { ${isLastSupported} } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run-append port:libgcc7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:libgcc7
</span> }
depends_skip_archcheck-append gcc_select ld64 cctools
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -168,6 +168,11 @@ destroot.target install install-info-host
</span>
if {${subport} eq "libgcc7"} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If providing the primary runtime, add conflict against libgcc-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${isLastSupported} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts libgcc-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Activate hack for new libgcc
# https://trac.macports.org/wiki/PortfileRecipes#deactivatehack
pre-activate {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc8/Portfile b/lang/gcc8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f1c300f..a1b9c2d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -160,6 +160,9 @@ pre-fetch {
</span>
if {${subport} eq "libgcc8"} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Always provides primary runtime so always in conflict
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts libgcc-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Activate hack for new libgcc
# https://trac.macports.org/wiki/PortfileRecipes#deactivatehack
pre-activate {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc9/Portfile b/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 26a0535..d9a6a1c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -149,7 +149,13 @@ pre-fetch {
</span> }
if {${subport} eq "libgcc-devel"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts libgcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Set conflict against port providing primary runtime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 10 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts libgcc7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts libgcc8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
# http://trac.macports.org/ticket/35770
# http://trac.macports.org/ticket/38814
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/libgcc/Portfile b/lang/libgcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ee71b22..4684b9c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/libgcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/libgcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,8 +16,6 @@ use_configure no
</span> supported_archs noarch
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts libgcc-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> description Provides the appropriate gcc runtime.
long_description ${description} \
Picks the version to use based on macOS version.
</pre><pre style='margin:0'>
</pre>