git: 07162600cd1e - main - =?utf-8?Q?lang/perl5.42: silence Getopt::Long duplicate=E2=80=90spec warning in jso=Q?lang/perl5.42: silence Getopt::Long duplicate=E2=80=90spec warning in jso=
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Aug 2025 12:37:43 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: 07162600cd1e34ada7a814bc7bb9bd30a9a2558e
Auto-Submitted: auto-generated
The branch main has been updated by mat:
URL: https://cgit.FreeBSD.org/ports/commit/?id=07162600cd1e34ada7a814bc7bb9bd30a9a2558e
commit 07162600cd1e34ada7a814bc7bb9bd30a9a2558e
Author: Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2025-08-20 12:31:38 +0000
Commit: Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2025-08-20 12:36:28 +0000
lang/perl5.42: silence Getopt::Long duplicateāspec warning in json_pp
PR: 286820
---
lang/perl5.42/Makefile | 1 +
lang/perl5.42/files/patch-cpan_JSON-PP_bin_json__pp | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/lang/perl5.42/Makefile b/lang/perl5.42/Makefile
index 07bea337c27d..7e48e89c50aa 100644
--- a/lang/perl5.42/Makefile
+++ b/lang/perl5.42/Makefile
@@ -1,5 +1,6 @@
PORTNAME= perl
DISTVERSION= ${PERL_VERSION}
+PORTREVISION= 1
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/B/BO/BOOK
DIST_SUBDIR= perl
diff --git a/lang/perl5.42/files/patch-cpan_JSON-PP_bin_json__pp b/lang/perl5.42/files/patch-cpan_JSON-PP_bin_json__pp
new file mode 100644
index 000000000000..5b984b30f83b
--- /dev/null
+++ b/lang/perl5.42/files/patch-cpan_JSON-PP_bin_json__pp
@@ -0,0 +1,13 @@
+Silence Getopt::Long warning
+
+--- 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 ();