<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/253fee5ed40248c9f6f52a164fd803d2f8eb4a2f">https://github.com/macports/macports-ports/commit/253fee5ed40248c9f6f52a164fd803d2f8eb4a2f</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 253fee5ed40 p5-io-tty: upstream fix for configure arg parsing
</span>253fee5ed40 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 253fee5ed40248c9f6f52a164fd803d2f8eb4a2f
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun May 29 10:23:13 2022 +1000
<span style='display:block; white-space:pre;color:#404040;'> p5-io-tty: upstream fix for configure arg parsing
</span>---
perl/p5-io-tty/Portfile | 3 ++-
perl/p5-io-tty/files/args.patch | 25 +++++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-io-tty/Portfile b/perl/p5-io-tty/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 663e6490565..5b7a11baaf8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-io-tty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-io-tty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,8 +10,9 @@ maintainers nomaintainer
</span> license {Artistic-1 GPL}
description Provide an interface to TTYs and PTYs
long_description {*}${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span>
checksums rmd160 6456e9fea51de3ac893b93ae470fe5cf0d452628 \
sha256 8f1a09c070738adc695df903f2e7f74308dd8d991b914c0bc390a0e6021294dd \
size 26765
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles args.patch
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-io-tty/files/args.patch b/perl/p5-io-tty/files/args.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c3ce19742e2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-io-tty/files/args.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 066f9537e41fec8491946f45f1965717803dc98b Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Alexander Bluhm <alexander.bluhm@gmx.net>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sat, 20 Mar 2021 15:43:20 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Use $arg to match @ARGV in Makefile.PL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+As the default pattern match was used, $arg was not evaluated. This
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fixes warning "Use of uninitialized value $_ in pattern match (m//)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+at Makefile.PL line 19".
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Makefile.PL | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/Makefile.PL b/Makefile.PL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 42fca50..eaf47e0 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.PL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.PL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -16,7 +16,7 @@ use Config qw(%Config);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my %cfg;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @cfg{qw(cc ccflags ldflags)} = @Config{qw(cc ccflags ldflags)};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for my $arg (@ARGV) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ( /^(CC|CCFLAGS|LDFLAGS)=(.*)/i ) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if ( $arg =~ /^(CC|CCFLAGS|LDFLAGS)=(.*)/i ) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $cfg{lc($1)} = $2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span></pre><pre style='margin:0'>
</pre>