<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6d0da647a240c9b0a8eb539abf9d24d5e0074f77">https://github.com/macports/macports-ports/commit/6d0da647a240c9b0a8eb539abf9d24d5e0074f77</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 6d0da647a24 p5-extutils-f77: update to version 1.26
</span>6d0da647a24 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6d0da647a240c9b0a8eb539abf9d24d5e0074f77
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Thu Dec 23 14:04:53 2021 -0800
<span style='display:block; white-space:pre;color:#404040;'> p5-extutils-f77: update to version 1.26
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use the compilers PG to simplify compiler variants and configuration.
</span>---
perl/p5-extutils-f77/Portfile | 86 +++++-----------------------
perl/p5-extutils-f77/files/patch-F77.pm.diff | 2 +-
2 files changed, 15 insertions(+), 73 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-extutils-f77/Portfile b/perl/p5-extutils-f77/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 231529deb72..b7beba0bc9b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-extutils-f77/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-extutils-f77/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,12 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compilers 1.0
</span> PortGroup perl5 1.0
perl5.branches 5.28 5.30 5.32 5.34
<span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.setup ExtUtils-F77 1.24 ../../authors/id/K/KG/KGB
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.setup ExtUtils-F77 1.26 ../../authors/id/E/ET/ETJ
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> license {Artistic-1 GPL}
maintainers nomaintainer
description Helper for linking C with Fortran subroutines
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,82 +16,23 @@ long_description ExtUtils::F77 describes to the calling perl code how to link
</span> platforms darwin
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 bd8435d1cb928cff7e8794c15c944cdc864aa28f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 355878a4a7f901eb18d21f9e21be8c8bfc6aaf9665d34b241bc1d43e32c5b730 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 12572
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 0ff0a50951d9df9441c76345cfce91fabc88e3e9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 abdd1d3eec4ca4fcae5f152b40bcaa862e3c806e07e4aa9123757f6aa48b9dd6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 13141
</span>
if {${perl5.major} != ""} {
depends_lib-append \
port:p${perl5.major}-file-which \
port:p${perl5.major}-text-parsewords
<span style='display:block; white-space:pre;background:#ffe0e0;'>- platform darwin {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-F77.pm.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@GCCLIB@@|${lib}|g" ${worksrcpath}/F77.pm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@F77@@|${configure.f77}|g" ${worksrcpath}/F77.pm
</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;'>- variant gcc48 conflicts gcc49 gcc5 gcc6 gcc7 gcc8 description {Build with GFortran 4.8} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-gcc-4.8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gcc48
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib ${prefix}/lib/gcc48
</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 gcc49 conflicts gcc48 gcc5 gcc6 gcc7 gcc8 description {Build with GFortran 4.9} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-gcc-4.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gcc49
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib ${prefix}/lib/gcc49
</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 gcc5 conflicts gcc48 gcc49 gcc6 gcc7 gcc8 description {Build with GFortran 5} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-gcc-5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gcc5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib ${prefix}/lib/gcc5
</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 gcc6 conflicts gcc48 gcc49 gcc5 gcc7 gcc8 description {Build with GFortran 6} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-gcc-6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gcc6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib ${prefix}/lib/gcc6
</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 gcc7 conflicts gcc48 gcc49 gcc5 gcc6 gcc8 description {Build with GFortran 7} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-gcc-7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gcc7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib ${prefix}/lib/gcc7
</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 gcc8 conflicts gcc48 gcc49 gcc5 gcc6 gcc7 description {Build with GFortran 8} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-gcc-8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gcc8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib ${prefix}/lib/gcc8
</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 gcc9 conflicts gcc48 gcc49 gcc5 gcc6 gcc7 gcc8 description {Build with GFortran 9} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-gcc-9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gcc9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set lib ${prefix}/lib/gcc9
</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 {![variant_isset gcc48] && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset gcc49] && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset gcc5] && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset gcc6] && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset gcc7] && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset gcc8] && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset gcc9]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compilers.choose f77
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compilers.setup require_fortran -g95
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# last gcc compiler supported on 10.5 and earlier is gcc7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-F77.pm.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +gcc7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {${os.major} == 10} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +gcc8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +gcc9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set lib [string replace ${compilers.libfortran} [string last / ${compilers.libfortran}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@GCCLIB@@|${lib}|g" ${worksrcpath}/F77.pm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@F77@@|${configure.f77}|g" ${worksrcpath}/F77.pm
</span> }
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-extutils-f77/files/patch-F77.pm.diff b/perl/p5-extutils-f77/files/patch-F77.pm.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 3cfd9433267..227bf24c0d5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-extutils-f77/files/patch-F77.pm.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-extutils-f77/files/patch-F77.pm.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span> --- F77.pm.orig 2019-01-04 21:56:24.000000000 -0800
+++ F77.pm 2019-01-24 22:37:46.000000000 -0800
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -364,6 +364,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -368,6 +368,8 @@
</span> ### Darwin (Mac OS X) ###
$F77config{Darwin}{GNU} = $F77config{Generic}{GNU};
</pre><pre style='margin:0'>
</pre>