diff options
Diffstat (limited to 'lang/perl5.42')
-rw-r--r-- | lang/perl5.42/Makefile | 3 | ||||
-rw-r--r-- | lang/perl5.42/files/patch-cpan_JSON-PP_bin_json__pp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/perl5.42/Makefile b/lang/perl5.42/Makefile index 202695b0c883..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 @@ -15,7 +16,7 @@ LICENSE_FILE_GPLv1+ = ${WRKSRC}/Copying # Uncomment when the default Perl is switched to 5.44+ #DEPRECATED= Support end three years after .0 release, please upgrade to a more recent version of Perl -#EXPIRATION_DATE=<Release date of .0 + 3 years> +#EXPIRATION_DATE= 2028-07-03 USES= cpe tar:xz 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 (); |