<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ff4c4bd6219f166b85c82c44eecb909dd3ae08b3">https://github.com/macports/macports-ports/commit/ff4c4bd6219f166b85c82c44eecb909dd3ae08b3</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 ff4c4bd gcc7: Update to 7.2.0 and move reloacte libgcc port
</span>ff4c4bd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ff4c4bd6219f166b85c82c44eecb909dd3ae08b3
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Sun Sep 3 10:27:17 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> gcc7: Update to 7.2.0 and move reloacte libgcc port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This also adds lbgcc6 port to support older versions of gfortran
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
lang/gcc43/Portfile | 3 ++-
lang/gcc44/Portfile | 3 ++-
lang/gcc45/Portfile | 4 +++-
lang/gcc46/Portfile | 3 ++-
lang/gcc47/Portfile | 3 ++-
lang/gcc48/Portfile | 3 ++-
lang/gcc49/Portfile | 3 ++-
lang/gcc5/Portfile | 4 ++--
lang/gcc6/Portfile | 22 +++++++++-------------
lang/gcc7/Portfile | 39 ++++++++++++++++++++-------------------
10 files changed, 46 insertions(+), 41 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc43/Portfile b/lang/gcc43/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bcc1a5b..750ef92 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc43/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc43/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,7 +59,8 @@ depends_lib port:cctools \
</span> port:libiconv \
port:mpfr
depends_run port:gcc_select \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libgcc45
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc45 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
depends_skip_archcheck-append gcc_select ld64 cctools
license_noconflict gmp mpfr
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc44/Portfile b/lang/gcc44/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5599725..25c9bde 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc44/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc44/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +60,8 @@ depends_lib port:cctools \
</span> port:libiconv \
port:mpfr
depends_run port:gcc_select \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libgcc45
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc45 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
depends_skip_archcheck-append gcc_select ld64 cctools
license_noconflict gmp mpfr
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc45/Portfile b/lang/gcc45/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 395ce27..eac2cf7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc45/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc45/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,7 +70,8 @@ depends_lib port:cctools \
</span> port:libmpc \
port:mpfr
depends_run port:gcc_select \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libgcc45
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc45 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
depends_skip_archcheck-append texinfo gcc_select ld64 cctools
license_noconflict gmp mpfr ppl libmpc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -209,6 +210,7 @@ if {${subport} == "libgcc45"} {
</span> # versions.
depends_run-delete port:libgcc45
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-delete port:libgcc6
</span>
configure.args-delete --libdir=${prefix}/lib/${name}
configure.args-append --libdir=${prefix}/lib/libgcc
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc46/Portfile b/lang/gcc46/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2198b9c..20518e8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc46/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc46/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,7 +57,8 @@ depends_lib port:cctools \
</span> port:libmpc \
port:mpfr \
port:ppl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:gcc_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:gcc_select \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
depends_skip_archcheck-append gcc_select ld64 cctools
license_noconflict gmp mpfr ppl libmpc
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc47/Portfile b/lang/gcc47/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index af06152..86d2d5f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc47/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc47/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,7 +56,8 @@ depends_lib port:cctools \
</span> port:libmpc \
port:mpfr \
port:ppl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:gcc_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:gcc_select \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
depends_skip_archcheck-append gcc_select ld64 cctools
license_noconflict gmp mpfr ppl libmpc
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc48/Portfile b/lang/gcc48/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9fbce85..72e1251 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc48/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc48/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,7 +41,8 @@ depends_lib port:cctools \
</span> port:libiconv \
port:libmpc \
port:mpfr
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:gcc_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:gcc_select \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
depends_skip_archcheck-append gcc_select ld64 cctools
license_noconflict gmp mpfr ppl libmpc
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc49/Portfile b/lang/gcc49/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f1c662d..8f2f32f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc49/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc49/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,7 +40,8 @@ depends_lib port:cctools \
</span> port:libiconv \
port:libmpc \
port:mpfr
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:gcc_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:gcc_select \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
depends_skip_archcheck-append gcc_select ld64 cctools
license_noconflict gmp mpfr ppl libmpc
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc5/Portfile b/lang/gcc5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4e42665..cf554dd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,6 +39,8 @@ depends_lib port:cctools \
</span> port:libiconv \
port:libmpc \
port:mpfr
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:gcc_select \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
depends_skip_archcheck-append gcc_select ld64 cctools
license_noconflict gmp mpfr ppl libmpc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -139,8 +141,6 @@ use_parallel_build yes
</span>
destroot.target install install-info-host
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run-append port:gcc_select
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-destroot {
file delete ${destroot}${prefix}/share/info/dir
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc6/Portfile b/lang/gcc6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2e97910..1621764 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup select 1.0
</span> PortGroup compiler_blacklist_versions 1.0
name gcc6
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport libgcc {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport libgcc6 {}
</span>
epoch 2
version 6.4.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -138,9 +138,7 @@ use_parallel_build yes
</span>
destroot.target install install-info-host
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${subport} eq "libgcc"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts libgcc-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq "libgcc6"} {
</span> # http://trac.macports.org/ticket/35770
# http://trac.macports.org/ticket/38814
# While there can be multiple versions of these runtimes in a single
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -153,11 +151,11 @@ if {${subport} eq "libgcc"} {
</span> # version should continue to provide a subport for that and older gcc
# versions.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-delete path:lib/libgcc/libgcc_s.1.dylib:libgcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --libdir=${prefix}/lib/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --libdir=${prefix}/lib/libgcc
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --libdir=${prefix}/lib/${name} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --libdir=${prefix}/lib/libgcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --enable-languages=c,c++,objc,obj-c++,lto,fortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-languages=fortran
</span>
# TODO: Possibly disable bootstrap with appropriate configure flags.
# the problem is that libstdc++'s configure script tests for tls support
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -174,7 +172,7 @@ if {${subport} eq "libgcc"} {
</span> # Note that we really don't want to include libgcc_ext.10.[45].dylib here, but install_name_tool
# doesn't know how to change the id of stubs, and it's easier than recreating them for each
# gcc port.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set dylibs {libgcc_ext.10.4.dylib libgcc_ext.10.5.dylib libgcc_s.1.dylib libgfortran.3.dylib libquadmath.0.dylib libstdc++.6.dylib libobjc-gnu.4.dylib libgomp.1.dylib libitm.1.dylib libssp.0.dylib libasan.0.dylib libatomic.1.dylib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dylibs {libgfortran.3.dylib}
</span>
foreach dylib ${dylibs} {
# Different OS versions (e.g. Leopard) or architectures (e.g. PPC) don't produce all the dylibs
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -212,12 +210,10 @@ if {${subport} eq "libgcc"} {
</span> file delete -force ${destroot}${prefix}/libexec
move ${destroot}${prefix}/lib/libgcc.merged ${destroot}${prefix}/lib/libgcc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # For binary compatibility with binaries that linked against the old libstdcxx port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s libgcc/libstdc++.6.dylib ${destroot}${prefix}/lib/libstdc++.6.dylib
</span> }
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run-append port:gcc_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append port:gcc_select \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcc6
</span>
post-destroot {
file delete ${destroot}${prefix}/share/info/dir
<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 74920f8..e8d81c7 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;'>@@ -5,37 +5,38 @@ PortGroup select 1.0
</span> PortGroup compiler_blacklist_versions 1.0
name gcc7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#subport libgcc-devel {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport libgcc {}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-epoch 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 7-20170622
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3d76314a5756475353bb47d6a42d461f13004bc3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 484c22ecd1e5f3fe33bccc1d03ea93d5eb5a78b7b221c7bac47166d9c2d4fe15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+epoch 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 7.2.0
</span>
platforms darwin
categories lang
maintainers nomaintainer
# an exception in the license allows dependents to not be GPL
license {GPL-3+ Permissive}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description The GNU compiler collection, prerelease BETA
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description The GNU compiler collection
</span> long_description The GNU compiler collection, including front ends for \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- C, C++, Objective-C, Objective-C++, and Fortran. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- This is a prerelease BETA version!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C, C++, Objective-C, Objective-C++, and Fortran.
</span>
homepage http://gcc.gnu.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/${version}/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://gcc.gnu.org/pub/gcc/snapshots/${version}/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- http://gcc.skazkaforyou.com/snapshots/${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-${version}/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ftp.gwdg.de/pub/linux/gcc/releases/gcc-${version}/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://gcc.ftp.nluug.nl/mirror/languages/gcc/releases/gcc-${version}/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://gcc.gnu.org/pub/gcc/releases/gcc-${version}/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gnu:gcc/gcc-${version}
</span>
distname gcc-${version}
use_xz yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 fa8eed36c78cf135f9cc88e60845996b5cfaba52 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1cf7adf8ff4b5aa49041c8734bbcf1ad18cc4c94d0029aae0f4e48841088479a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib port:cctools \
port:gmp \
path:lib/pkgconfig/isl.pc:isl \
port:ld64 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libgcc-devel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libgcc/libgcc_s.1.dylib:libgcc \
</span> port:libiconv \
port:libmpc \
port:mpfr
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -138,8 +139,8 @@ use_parallel_build yes
</span>
destroot.target install install-info-host
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${subport} eq "libgcc-devel"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts libgcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq "libgcc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts libgcc-devel
</span>
# http://trac.macports.org/ticket/35770
# http://trac.macports.org/ticket/38814
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -153,7 +154,7 @@ if {${subport} eq "libgcc-devel"} {
</span> # version should continue to provide a subport for that and older gcc
# versions.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-delete port:libgcc-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete path:lib/libgcc/libgcc_s.1.dylib:libgcc
</span>
configure.args-delete --libdir=${prefix}/lib/${name}
configure.args-append --libdir=${prefix}/lib/libgcc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -228,7 +229,7 @@ post-destroot {
</span> file rename ${file} ${newfile}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach dylib {libgcc_ext.10.4.dylib libgcc_ext.10.5.dylib libgcc_s.1.dylib libgfortran.3.dylib libquadmath.0.dylib libstdc++.6.dylib libobjc-gnu.4.dylib libgomp.1.dylib libitm.1.dylib libssp.0.dylib libasan.0.dylib libatomic.1.dylib} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dylib {libgcc_ext.10.4.dylib libgcc_ext.10.5.dylib libgcc_s.1.dylib libgfortran.4.dylib libquadmath.0.dylib libstdc++.6.dylib libobjc-gnu.4.dylib libgomp.1.dylib libitm.1.dylib libssp.0.dylib libasan.0.dylib libatomic.1.dylib} {
</span> # Different OS versions (e.g. Leopard) or architectures (e.g. PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -281,5 +282,5 @@ configure.universal_ldflags
</span> configure.universal_args
livecheck.type regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ftp://gcc.gnu.org/pub/gcc/snapshots/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex LATEST-${major} -> (${major}-\[0-9\]+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url http://ftp.gnu.org/gnu/gcc/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex gcc-(${major}\\.\[0-9.\]+)/
</span></pre><pre style='margin:0'>
</pre>