summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2025-08-20 14:31:00 +0200
committerMathieu Arnold <mat@FreeBSD.org>2025-08-20 14:36:18 +0200
commit07162590997851b137206b1119cc839a116662dd (patch)
treeeb469024e1828f7dd0043775f20ec0f444a89bcd
parentgraphics/swappy: update to 1.7.1 (diff)
converters/p5-JSON-PP: silence Getopt::Long duplicate‐spec warning
PR: 286820
-rw-r--r--converters/p5-JSON-PP/Makefile1
-rw-r--r--converters/p5-JSON-PP/files/patch-bin_json__pp13
2 files changed, 14 insertions, 0 deletions
diff --git a/converters/p5-JSON-PP/Makefile b/converters/p5-JSON-PP/Makefile
index e1550a578b25..e41f4e94a06f 100644
--- a/converters/p5-JSON-PP/Makefile
+++ b/converters/p5-JSON-PP/Makefile
@@ -1,5 +1,6 @@
PORTNAME= JSON-PP
PORTVERSION= 4.16
+PORTREVISION= 1
CATEGORIES= converters perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:ISHIGAKI
diff --git a/converters/p5-JSON-PP/files/patch-bin_json__pp b/converters/p5-JSON-PP/files/patch-bin_json__pp
new file mode 100644
index 000000000000..3a4471fc7983
--- /dev/null
+++ b/converters/p5-JSON-PP/files/patch-bin_json__pp
@@ -0,0 +1,13 @@
+Silence Getopt::Long warning
+
+--- bin/json_pp.orig 2025-08-20 12:20:56 UTC
++++ 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 ();