diff options
author | joerg <joerg@pkgsrc.org> | 2015-06-27 18:42:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-06-27 18:42:42 +0000 |
commit | 3e15499f7eb9bc1dda986a5e9c6c203e3a08a994 (patch) | |
tree | dacf2d48542ca81392f0bc3a76a648297fc99a0b /databases | |
parent | bcf6518644e77dd2813fb8fb7aeb435a5ab0ed9c (diff) | |
download | pkgsrc-3e15499f7eb9bc1dda986a5e9c6c203e3a08a994.tar.gz |
Fix build with Perl 5.22.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-YAML-MLDBM/distinfo | 3 | ||||
-rw-r--r-- | databases/p5-YAML-MLDBM/patches/patch-CPAN_MakeMaker.pm | 33 |
2 files changed, 35 insertions, 1 deletions
diff --git a/databases/p5-YAML-MLDBM/distinfo b/databases/p5-YAML-MLDBM/distinfo index 5abc1a5f5fc..696cef9be68 100644 --- a/databases/p5-YAML-MLDBM/distinfo +++ b/databases/p5-YAML-MLDBM/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/07/31 07:16:23 sno Exp $ +$NetBSD: distinfo,v 1.2 2015/06/27 18:42:42 joerg Exp $ SHA1 (YAML-MLDBM-0.10.tar.gz) = be53f12206f8a8c99dee6c2d83c3faa439d70d6f RMD160 (YAML-MLDBM-0.10.tar.gz) = 26d673818d96dc489f0286050127f9605fd55a86 Size (YAML-MLDBM-0.10.tar.gz) = 3420 bytes +SHA1 (patch-CPAN_MakeMaker.pm) = b53a24aa90755f4bdbce47050d9b7120c57ec410 diff --git a/databases/p5-YAML-MLDBM/patches/patch-CPAN_MakeMaker.pm b/databases/p5-YAML-MLDBM/patches/patch-CPAN_MakeMaker.pm new file mode 100644 index 00000000000..c9e4ff56e9f --- /dev/null +++ b/databases/p5-YAML-MLDBM/patches/patch-CPAN_MakeMaker.pm @@ -0,0 +1,33 @@ +$NetBSD: patch-CPAN_MakeMaker.pm,v 1.1 2015/06/27 18:42:42 joerg Exp $ + +--- CPAN/MakeMaker.pm.orig 2015-06-24 20:36:16.000000000 +0000 ++++ CPAN/MakeMaker.pm +@@ -36,15 +36,14 @@ sub WriteMakefile { + determine_VERSION() + unless defined $ARGS{VERSION} or defined $ARGS{VERSION_FROM}; + determine_CLEAN_FILES() +- if defined $main::CLEAN_FILES or +- defined @main::CLEAN_FILES; ++ if defined $main::CLEAN_FILES or @main::CLEAN_FILES; + $ARGS{ABSTRACT} = $main::ABSTRACT + if defined $main::ABSTRACT and $] >= 5.005; + $ARGS{AUTHOR} = $main::AUTHOR + if defined $main::AUTHOR and $] >= 5.005; +- $ARGS{PREREQ_PM} = \%main::PREREQ_PM if defined %main::PREREQ_PM; +- $ARGS{PL_FILES} = \%main::PL_FILES if defined %main::PL_FILES; +- $ARGS{EXE_FILES} = \@main::EXE_FILES if defined @main::EXE_FILES; ++ $ARGS{PREREQ_PM} = \%main::PREREQ_PM if %main::PREREQ_PM; ++ $ARGS{PL_FILES} = \%main::PL_FILES if %main::PL_FILES; ++ $ARGS{EXE_FILES} = \@main::EXE_FILES if @main::EXE_FILES; + + my %Args = (%ARGS, %args); + ExtUtils::MakeMaker::WriteMakefile(%Args); +@@ -119,7 +118,7 @@ sub determine_CLEAN_FILES { + $clean_files = $main::CLEAN_FILES; + } + } +- if (defined(@main::CLEAN_FILES)) { ++ if (@main::CLEAN_FILES) { + $clean_files = join ' ', ($clean_files, @main::CLEAN_FILES); + } + $clean_files = join ' ', ($clean_files, @CLEAN); |