<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/66d15280669ff98efd8a0b09a411eb350db3bfe4">https://github.com/macports/macports-ports/commit/66d15280669ff98efd8a0b09a411eb350db3bfe4</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 66d15280669 fortran-pcre2: update to 0.1.1
</span>66d15280669 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 66d15280669ff98efd8a0b09a411eb350db3bfe4
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Thu Jun 20 00:52:39 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> fortran-pcre2: update to 0.1.1
</span>---
fortran/fortran-pcre2/Portfile | 32 ++++++++++++-------------
fortran/fortran-pcre2/files/patch-Makefile.diff | 19 ++++++++-------
2 files changed, 26 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/fortran/fortran-pcre2/Portfile b/fortran/fortran-pcre2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 598126afd92..ffbe788d645 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/fortran/fortran-pcre2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/fortran/fortran-pcre2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,19 +6,23 @@ PortGroup compilers 1.0
</span> PortGroup github 1.0
PortGroup makefile 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup interkosmos fortran-pcre2 0.1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup interkosmos fortran-pcre2 0.1.1
</span> revision 0
categories fortran devel
license ISC
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description Fortran 2018 ISO_C_BINDING interfaces to Perl-compatible Regular Expressions 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Fortran 2018 ISO_C_BINDING interfaces \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to Perl-compatible Regular Expressions 2
</span> long_description {*}${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 54b0beddafc2b5ff1007dee08c1d0d38d209bb6d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5a7b32a5b533fd028d05766ffb8a81d1dd2ff391159d8b8761ae7453dbebfb86 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 9442
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5563fecfd65b25fb665d1be4f05bd83836753766 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 dfd5c88d15ffcb7ff16d1bbd588259b144508a1d875275c61f886342ae04286b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 9748
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span>
depends_lib-append port:pcre2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
reinplace "s,@PREFIX@,${prefix}," ${worksrcpath}/Makefile
reinplace "s,@FC@,${configure.fc}," ${worksrcpath}/Makefile
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,21 +30,15 @@ post-patch {
</span> }
compilers.setup require_fortran
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append *gcc-4.* {clang < 500}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *gcc-4.* {clang < 500}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target all test
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/include/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/libfortran-pcre2.a ${destroot}${prefix}/lib/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/pcre2.mod ${destroot}${prefix}/include/${name}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_parallel_build no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set docdir ${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 -W ${worksrcpath} LICENCE README.md ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX=${destroot}${prefix}
</span>
test.run yes
test.cmd ./test_pcre2
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/fortran/fortran-pcre2/files/patch-Makefile.diff b/fortran/fortran-pcre2/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index b6c015e61c2..90c381ec4d4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/fortran/fortran-pcre2/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/fortran/fortran-pcre2/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,17 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.orig 2022-04-12 01:45:47.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile 2023-02-24 18:37:57.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile 2024-06-19 17:55:49.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2024-06-20 00:49:45.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,11 +1,11 @@
</span> .POSIX:
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ .SUFFIXES:
</span>
-FC = gfortran
-PREFIX = /usr/local
<span style='display:block; white-space:pre;background:#ffe0e0;'>--FFLAGS = -Wall -Wno-maybe-uninitialized -fmax-errors=1 -fcheck=all
</span> +FC = @FC@
+PREFIX = @PREFIX@
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+FFLAGS = @FFLAGS@ -Wall -Wno-maybe-uninitialized -fmax-errors=1 -fcheck=all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS = -I$(PREFIX)/include/ -L$(PREFIX)/lib/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDLIBS = -lpcre2-8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ARFLAGS = rcs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEBUG = -g -O0 -Wall -fmax-errors=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-RELEASE = -O2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++RELEASE = @FFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FFLAGS = $(RELEASE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS = -I$(PREFIX)/include -L$(PREFIX)/lib
</span></pre><pre style='margin:0'>
</pre>