summaryrefslogtreecommitdiffstats
path: root/package/perl
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2012-10-19 03:13:53 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-03 17:07:24 +0100
commit51b5cf20bbd07f7ac5855108b17bd08e6a9edf69 (patch)
treee590d69ad77e2649be61c10b3b316a6acc5fd9b3 /package/perl
parent1b5ce0e9a2867851cdb81aaa68b4007d5517250f (diff)
downloadbuildroot-novena-51b5cf20bbd07f7ac5855108b17bd08e6a9edf69.tar.gz
buildroot-novena-51b5cf20bbd07f7ac5855108b17bd08e6a9edf69.zip
cpanminus: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/perl')
-rw-r--r--package/perl/perl-fix-Module-Build.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/perl/perl-fix-Module-Build.patch b/package/perl/perl-fix-Module-Build.patch
new file mode 100644
index 000000000..26b15e401
--- /dev/null
+++ b/package/perl/perl-fix-Module-Build.patch
@@ -0,0 +1,16 @@
+
+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;