kumquat-buildroot/package/perl/perl-fix-Module-Build.patch
Francois Perrad 51b5cf20bb cpanminus: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-03 17:07:24 +01:00

17 lines
535 B
Diff

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Index: b/cpan/Module-Build/lib/Module/Build/Base.pm
===================================================================
--- a/cpan/Module-Build/lib/Module/Build/Base.pm
+++ b/cpan/Module-Build/lib/Module/Build/Base.pm
@@ -456,7 +456,7 @@
my $proto = shift;
my $c = ref($proto) ? $proto->{config} : 'Module::Build::Config';
- my $perl = $^X;
+ my $perl = $ENV{RUN_PERL} || $^X;
my $perl_basename = File::Basename::basename($perl);
my @potential_perls;