<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/9030f5f4375b0f1d20cdc85db72e8f1fdf3fae5e">https://github.com/macports/macports-ports/commit/9030f5f4375b0f1d20cdc85db72e8f1fdf3fae5e</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 9030f5f root6: remove clang and gcc variants, instead just pick the best.
</span>9030f5f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9030f5f4375b0f1d20cdc85db72e8f1fdf3fae5e
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Fri May 3 09:11:52 2019 +0100
<span style='display:block; white-space:pre;color:#404040;'> root6: remove clang and gcc variants, instead just pick the best.
</span>---
science/root6/Portfile | 203 +++++++++----------------------------------------
1 file changed, 38 insertions(+), 165 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/root6/Portfile b/science/root6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 126a2ce..257cda8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/root6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/root6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,14 +2,14 @@
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup active_variants 1.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup xcodeversion 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup legacysupport 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup active_variants 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup xcodeversion 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup legacysupport 1.0
</span>
github.setup root-project root 6-16-00 v
version [string map {- .} ${github.version}]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,9 +48,20 @@ platforms darwin
</span>
dist_subdir root/${version}_1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Force a compatible compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set gcc_ver 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.fc ${prefix}/bin/gfortran-mp-${gcc_ver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.f77 ${prefix}/bin/gfortran-mp-${gcc_ver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.f90 ${prefix}/bin/gfortran-mp-${gcc_ver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:gcc${gcc_ver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append *gcc* {clang < 920} macports-clang-3.3 macports-clang-3.4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ macports-clang-3.7 macports-clang-4.0 macports-clang-3.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.whitelist clang macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append port:pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:expat \
</span> port:gmp \
port:giflib \
port:jpeg \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,23 +88,20 @@ cmake.out_of_source yes
</span> select.group root
select.file ${filespath}/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Force a compatible compiler
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append *gcc* {clang < 920} macports-clang-3.3 macports-clang-3.4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-clang-3.7 macports-clang-4.0 macports-clang-3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.whitelist clang macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # port specific location
set install_prefix ${prefix}/libexec/root${version_major}
patch.pre_args -p1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# -DCMAKE_Fortran_COMPILER=${prefix}/bin/gfortran-mp-${configure.f77} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
-Dgnuinstall=ON \
-Drpath=ON \
-DCMAKE_INSTALL_PREFIX="${install_prefix}" \
-DCMAKE_INSTALL_SYSCONFDIR="${install_prefix}/etc/root" \
-DCMAKE_INSTALL_NAME_DIR="${install_prefix}/lib/root" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -Dfortran=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dfortran=ON \
</span> -Dbuiltin_davix=OFF \
-Dbuiltin_freetype=ON \
-Dbuiltin_glew=OFF \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -289,7 +297,7 @@ post-activate {
</span>
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +xml +gsl +tmva +roofit +graphviz +opengl +davix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants-append +xml +gsl +tmva +roofit +graphviz +opengl +davix
</span>
variant native description {Build with best native support for local CPU capabilities} {
configure.cflags-append -O3 -mtune=native
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -379,8 +387,6 @@ variant odbc description {Build with odbc support} {
</span>
variant ldap description {Build with ldap support} {
configure.args-replace -Dldap=OFF -Dldap=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.args-append -DLDAP_INCLUDE_DIR="${prefix}/include" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -DLDAP_LIBRARY="${prefix}/lib"
</span> depends_lib-append port:openldap
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -518,54 +524,32 @@ variant sqlite3 description {Build with sqlite3 support} {
</span> depends_lib-append port:sqlite3
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql conflicts mysql51 mysql55 mysql56 mariadb percona description {Build with mysql5 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -Dmysql=OFF -Dmysql=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DMYSQL_CONFIG_EXECUTABLE=${prefix}"/lib/mysql5/bin/mysql_config"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql51 conflicts mysql mysql55 mysql56 mariadb percona description {Build with mysql51 support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql conflicts mysql mariadb percona description {Build with mysql56 support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ver 57
</span> configure.args-replace -Dmysql=OFF -Dmysql=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DMYSQL_CONFIG_EXECUTABLE=${prefix}"/lib/mysql51/bin/mysql_config"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql51
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DMYSQL_CONFIG_EXECUTABLE=${prefix}"/lib/mysql${ver}/bin/mysql_config"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mysql${ver}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql55 conflicts mysql mysql51 mysql56 mariadb percona description {Build with mysql55 support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mariadb conflicts mysql percona description {Build with mariadb support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ver 10.2
</span> configure.args-replace -Dmysql=OFF -Dmysql=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DMYSQL_CONFIG_EXECUTABLE=${prefix}"/lib/mysql55/bin/mysql_config"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql55
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DMYSQL_CONFIG_EXECUTABLE=${prefix}"/lib/mariadb-${ver}/bin/mysql_config"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb-${ver}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql56 conflicts mysql mysql51 mysql55 mariadb percona description {Build with mysql56 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -Dmysql=OFF -Dmysql=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DMYSQL_CONFIG_EXECUTABLE=${prefix}"/lib/mysql56/bin/mysql_config"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql56
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mariadb conflicts mysql mysql51 mysql55 mysql56 percona description {Build with mariadb support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -Dmysql=OFF -Dmysql=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DMYSQL_CONFIG_EXECUTABLE=${prefix}"/lib/mariadb/bin/mysql_config"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mariadb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant percona conflicts mysql mysql51 mysql55 mysql56 mariadb description {Build with percona support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant percona conflicts mysql mariadb description {Build with percona support} {
</span> configure.args-replace -Dmysql=OFF -Dmysql=ON
configure.args-append -DMYSQL_CONFIG_EXECUTABLE=${prefix}"/lib/percona/bin/mysql_config"
depends_lib-append port:percona
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql90 conflicts postgresql92 description {Build with PostgreSQL 9.0 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -Dpgsql=OFF -Dpgsql=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DPOSTGRESQL_INCLUDE_DIR="${prefix}/include/postgresql90"\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DPOSTGRESQL_LIBRARY="${prefix}/lib/postgresql90/libpq.dylib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:libpqxx port:postgresql90
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql92 conflicts postgresql90 description {Build with PostgreSQL 9.2 support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql conflicts description {Build with PostgreSQL support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ver 96
</span> configure.args-replace -Dpgsql=OFF -Dpgsql=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DPOSTGRESQL_INCLUDE_DIR="${prefix}/include/postgresql92" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DPOSTGRESQL_LIBRARY="${prefix}/lib/postgresql92/libpq.dylib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:libpqxx port:postgresql92
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPOSTGRESQL_INCLUDE_DIR="${prefix}/include/postgresql${ver}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPOSTGRESQL_LIBRARY="${prefix}/lib/postgresql${ver}/libpq.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libpqxx port:postgresql${ver}
</span> }
# variant oracle description {Build with Oracle support} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -610,114 +594,3 @@ variant x11 conflicts cocoa description {Enables X11 graphical backend} {
</span> -DOPENGL_glu_LIBRARY=${prefix}/lib/libGLU.dylib
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# ========================================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Setup various clang variants, to provide alternative C++ compilers that support cocoa
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# ========================================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# List of possible clang versions that work
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# REMEMBER - Update the logic below when changing this list ...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set clang_versions { 5.0 6.0 7.0 8.0 }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Define the available variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach clang_ver ${clang_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set clang_ver_no_dot [join [split ${clang_ver} "."] ""]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set variant_line {variant clang${clang_ver_no_dot} description "Compile using MacPorts clang ${clang_ver}"}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach clang_over ${clang_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${clang_ver} == ${clang_over} } { continue }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set clang_over_no_dot [join [split ${clang_over} "."] ""]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- append variant_line " conflicts clang${clang_over_no_dot}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- append variant_line { { } }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $variant_line
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# make sure that the proper variant is automatically selected
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# (ROOT crashes if the compiler it was built with doesn't exist)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ![variant_isset clang50] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset clang60] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset clang70] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset clang80] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${configure.compiler} eq "macports-clang-5.0" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +clang50
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif { ${configure.compiler} eq "macports-clang-6.0" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +clang60
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif { ${configure.compiler} eq "macports-clang-7.0" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +clang70
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif { ${configure.compiler} eq "macports-clang-8.0" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +clang80
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Is a variant active ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set active_clang_variant ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach clang_ver ${clang_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set clang_ver_no_dot [join [split ${clang_ver} "."] ""]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset clang${clang_ver_no_dot}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set active_clang_variant ${clang_ver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# If so, set it up.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${active_clang_variant} != "" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-clang-${active_clang_variant}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # TODO
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # configure.args-append --with-llvm-config="${prefix}/bin/llvm-config-mp-"${active_clang_variant}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append port:clang-${active_clang_variant}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# ========================================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Following is for fortran support
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Might eventually move to a portgroup, or similar, so could be simplified.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Based on recipe from https://trac.macports.org/wiki/PortfileRecipes#fortran
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Note that g95 does not work here, so that variant is removed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# ========================================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set gcc_versions { 6 7 8 9 }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set default_fortran_variant +gcc8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach gcc_ver ${gcc_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set gcc_ver_no_dot [join [split ${gcc_ver} "."] ""]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set variant_line {variant gcc${gcc_ver_no_dot} description "Build with gfortran from gcc${gcc_ver_no_dot}"}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach gcc_over ${gcc_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${gcc_ver} == ${gcc_over}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- continue
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set gcc_over_no_dot [join [split ${gcc_over} "."] ""]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- append variant_line " conflicts gcc${gcc_over_no_dot}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- append variant_line { {} }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $variant_line
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset gcc${gcc_ver_no_dot}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${default_fortran_variant} != "+gcc${gcc_ver_no_dot}"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set default_fortran_variant ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${default_fortran_variant} != ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append "${default_fortran_variant}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach gcc_ver ${gcc_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset gcc${gcc_ver}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:gcc${gcc_ver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${gcc_ver} <= 7 } { depends_lib-append port:libgcc7 }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${gcc_ver} <= 6 } { depends_lib-append port:libgcc6 }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.fc ${prefix}/bin/gfortran-mp-${gcc_ver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.f77 ${prefix}/bin/gfortran-mp-${gcc_ver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.f90 ${prefix}/bin/gfortran-mp-${gcc_ver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DCMAKE_Fortran_COMPILER=${prefix}/bin/gfortran-mp-${gcc_ver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -Dfortran=OFF -Dfortran=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# ========================================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>