Commit 661fdede authored by Francois Perrad's avatar Francois Perrad Committed by Peter Korsgaard
Browse files

perl: remove useless patch



The Perl infrastructure uses a host version of Module-Build
(see previous commit "host-perl-module-build: new package").
The target version is never used, so no need to patch it.

Signed-off-by: default avatarFrancois Perrad <francois.perrad@gadz.org>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent f99a66de
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line

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
@@ -460,7 +460,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;