Add Clownfish and CFC to build_ and configure_requires Fixes CPAN Testers build on Cygwin and possibly other Windows setups.
Fixes LUCY-288. Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/fca85919 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/fca85919 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/fca85919 Branch: refs/heads/master Commit: fca85919f2969543d4920c3c1eb7659aaa2d99a1 Parents: 846598e Author: Nick Wellnhofer <[email protected]> Authored: Sat Feb 6 16:30:56 2016 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Sat Feb 6 16:30:56 2016 +0100 ---------------------------------------------------------------------- devel/bin/update_version | 2 ++ perl/Build.PL | 3 +++ 2 files changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/fca85919/devel/bin/update_version ---------------------------------------------------------------------- diff --git a/devel/bin/update_version b/devel/bin/update_version index 31978ef..3085ff9 100755 --- a/devel/bin/update_version +++ b/devel/bin/update_version @@ -89,6 +89,8 @@ $buf =~ s/(dist_version\ +=>\ +)'.+?'/$1'$x_y_z_d_version'/ if ( $z == 0 && $dev == 0 ) { $buf =~ s/(Clownfish::CFC::Perl::Build'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g or die "no match"; + $buf =~ s/(Clownfish::CFC'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g + or die "no match"; $buf =~ s/(Clownfish'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g or die "no match"; } http://git-wip-us.apache.org/repos/asf/lucy/blob/fca85919/perl/Build.PL ---------------------------------------------------------------------- diff --git a/perl/Build.PL b/perl/Build.PL index 8e42328..48ea632 100644 --- a/perl/Build.PL +++ b/perl/Build.PL @@ -46,6 +46,7 @@ my $builder = Lucy::Build->new( }, configure_requires => { 'Module::Build' => 0.280801, + 'Clownfish' => 0.004000, 'Clownfish::CFC::Perl::Build' => 0.004000, }, build_requires => { @@ -53,6 +54,8 @@ my $builder = Lucy::Build->new( 'ExtUtils::CBuilder' => 0.21, 'ExtUtils::ParseXS' => 2.18, 'Devel::PPPort' => 3.14, + 'Clownfish' => 0.004000, + 'Clownfish::CFC' => 0.004000, }, meta_merge => { keywords => [qw( search lucy lucene )], }, meta_add => {
