<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/067574baa2b43cc841f4d3b77b416772cafbba62">https://github.com/macports/macports-ports/commit/067574baa2b43cc841f4d3b77b416772cafbba62</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 067574baa2b43cc841f4d3b77b416772cafbba62
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Sat Jun 17 02:31:39 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> crossgcc: Use distdir with major version suffix
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Allow to reuse the distfile from the native gcc[0-9]+ ports. This
</span><span style='display:block; white-space:pre;color:#404040;'> implies the libc distfile will have be fetched again when upgrading to
</span><span style='display:block; white-space:pre;color:#404040;'> the next major version, but the latter is usually much smaller.
</span>---
_resources/port1.0/group/crossgcc-1.0.tcl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/crossgcc-1.0.tcl b/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 7e03b37..2415e58 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,7 +72,7 @@ proc crossgcc.setup {target version} {
</span> master_sites gnu:gcc/gcc-${version}/:gcc
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- dist_subdir gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dist_subdir gcc[lindex [split ${version} .] 0]
</span> distfiles gcc-${version}.tar.bz2:gcc
worksrcdir gcc-${version}
</pre><pre style='margin:0'>
</pre>