From 0b77fe743cfd1534800b3967ca6f107f276da5d9 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 29 Dec 2014 01:10:34 +0100 Subject: [PATCH] Workaround for upstream bug in OpenGL test that prevents installation --- Build.PL | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Build.PL b/Build.PL index 117b0aeeb..2bbc3fac9 100644 --- a/Build.PL +++ b/Build.PL @@ -110,7 +110,9 @@ EOF my %modules = (%prereqs, %recommends); foreach my $module (sort keys %modules) { my $version = $modules{$module}; - my @cmd = ($cpanm, @cpanm_args, "$module~$version"); + my @cmd = ($cpanm, @cpanm_args); + push @cmd, '-f', if $module eq 'OpenGL'; # temporary workaround for upstream bug in test + push @cmd, "$module~$version"; if ($module eq 'XML::SAX::ExpatXS' && $^O eq 'MSWin32') { my $mingw = 'C:\dev\CitrusPerl\mingw64'; $mingw = 'C:\dev\CitrusPerl\mingw32' if !-d $mingw;