lang/perl5.40: silence Getopt::Long duplicate‐spec warning in json_pp

PR:	286820
This commit is contained in:
Christos Chatzaras
2025-05-15 16:54:45 +03:00
committed by Mathieu Arnold
parent bbb8501eb3
commit 070552732a
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -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
@@ -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 ();