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/d1b99f52
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/d1b99f52
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/d1b99f52

Branch: refs/heads/0.4
Commit: d1b99f52f68df6811862256a056353ca2adcd99e
Parents: 58b08e3
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Sun Jan 31 15:49:16 2016 +0100
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Sun Jan 31 15:51:04 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/d1b99f52/devel/bin/update_version
----------------------------------------------------------------------
diff --git a/devel/bin/update_version b/devel/bin/update_version
index 1e2237f..73f196f 100755
--- a/devel/bin/update_version
+++ b/devel/bin/update_version
@@ -88,6 +88,8 @@ $buf =~ s/(dist_version\ +=>\ +)'.+?'/$1'$x_y_z_d_version'/
     or die "no match";
 $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";
 write_file( 'perl/Build.PL', $buf );

http://git-wip-us.apache.org/repos/asf/lucy/blob/d1b99f52/perl/Build.PL
----------------------------------------------------------------------
diff --git a/perl/Build.PL b/perl/Build.PL
index 7715901..4599138 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.004004,
         'Clownfish::CFC::Perl::Build' => 0.004004,
     },
     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.004004,
+        'Clownfish::CFC'     => 0.004004,
     },
     meta_merge => { keywords => [qw( search lucy lucene )], },
     meta_add   => {

Reply via email to