<pre style='margin:0'>
David Strubbe (dstrubbe) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5d87438051cc3c5e94f7ddf39a817da43a403509">https://github.com/macports/macports-ports/commit/5d87438051cc3c5e94f7ddf39a817da43a403509</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5d87438051cc3c5e94f7ddf39a817da43a403509
</span>Author: David Strubbe <dstrubbe@macports.org>
AuthorDate: Mon Mar 27 14:25:53 2017 -0400
<span style='display:block; white-space:pre;color:#404040;'> mpich: Fix build without Fortran variant.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> In the current version, --enable-f77 --enable-fc are deprecated in favor of --enable-fortran. Configure would fail for mpich-default -gcc6, but now it works again after updating these configure options.
</span>---
science/mpich/Portfile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/mpich/Portfile b/science/mpich/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 86e9681..d8f031b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/mpich/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/mpich/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -116,8 +116,7 @@ subport ${name}-devel-default {}
</span> compiler.blacklist-append {clang >= 421.11.66 < 425.0.24}
configure.args --disable-dependency-tracking \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-f77 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-fc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-fortran \
</span> --disable-silent-rules \
--enable-base-cache \
--enable-cache \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -215,8 +214,8 @@ if {${subport} != ${name}} {
</span> if { [string first gcc $cname] == 0 } {
append long_description " AND FORTRAN COMPILERS"
revision 4
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-f77 --disable-fc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-f77 --enable-fc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-fortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-fortran
</span> select.file ${filespath}/${name}-${cname}-fortran
variant fortran description {
Stub : fortran always enabled for gcc-based version
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -249,8 +248,8 @@ if {${subport} != ${name}} {
</span> compilers.setup -dragonegg default_fortran
if {[fortran_variant_isset]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-f77 --disable-fc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-f77 --enable-fc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-fortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-fortran
</span> select.file ${filespath}/${name}-${cname}-fortran
# at least currently, the Fortran variants gccX and g95 match the name of the ports
</pre><pre style='margin:0'>
</pre>