git: 070552732ae9 - main - =?utf-8?Q?lang/perl5.40: silence Getopt::Long duplicate=E2=80=90spec warning in jso=Q?lang/perl5.40: silence Getopt::Long duplicate=E2=80=90spec warning in jso=

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Thu, 15 May 2025 17:09:38 UTC
n_pp?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Git-Committer: mat
X-Git-Repository: ports
X-Git-Refname: refs/heads/main
X-Git-Reftype: branch
X-Git-Commit: 070552732ae905431ba0cb8175cd6381e4cecc97
Auto-Submitted: auto-generated

The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=070552732ae905431ba0cb8175cd6381e4cecc97

commit 070552732ae905431ba0cb8175cd6381e4cecc97
Author:     Christos Chatzaras <chris@cretaforce.gr>
AuthorDate: 2025-05-15 13:54:45 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2025-05-15 16:59:20 +0000

    lang/perl5.40: silence Getopt::Long duplicate‐spec warning in json_pp
    
    PR:     286820
---
 lang/perl5.40/Makefile                              |  1 +
 lang/perl5.40/files/patch-cpan_JSON-PP_bin_json__pp | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/lang/perl5.40/Makefile b/lang/perl5.40/Makefile
index 5010360ae6c1..913c44de2645 100644
--- a/lang/perl5.40/Makefile
+++ b/lang/perl5.40/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	perl
 DISTVERSION=	${PERL_VERSION}
+PORTREVISION=	1
 CATEGORIES=	lang devel perl5
 MASTER_SITES=	https://cpan.metacpan.org/authors/id/S/SH/SHAY/ CPAN/../../src/5.0
 DIST_SUBDIR=	perl
diff --git a/lang/perl5.40/files/patch-cpan_JSON-PP_bin_json__pp b/lang/perl5.40/files/patch-cpan_JSON-PP_bin_json__pp
new file mode 100644
index 000000000000..304bcab403bf
--- /dev/null
+++ b/lang/perl5.40/files/patch-cpan_JSON-PP_bin_json__pp
@@ -0,0 +1,11 @@
+--- cpan/JSON-PP/bin/json_pp.orig	2025-05-15 13:39:16 UTC
++++ cpan/JSON-PP/bin/json_pp
+@@ -2,7 +2,7 @@ use strict;
+ 
+ BEGIN { pop @INC if $INC[-1] eq '.' }
+ use strict;
+-use Getopt::Long;
++use Getopt::Long qw( :config no_ignore_case );
+ use Encode ();
+ 
+ use JSON::PP ();