perl-make-ext.patch 1008 B

123456789101112131415161718192021222324
  1. Don't use RUN with make (only for perl)
  2. Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
  3. Index: b/make_ext.pl
  4. ===================================================================
  5. --- a/make_ext.pl
  6. +++ b/make_ext.pl
  7. @@ -458,11 +458,13 @@
  8. # Give makefile an opportunity to rewrite itself.
  9. # reassure users that life goes on...
  10. my @args = ('config', @$pass_through);
  11. - system(@run, @make, @args) and print "@run @make @args failed, continuing anyway...\n";
  12. +# system(@run, @make, @args) and print "@run @make @args failed, continuing anyway...\n";
  13. + system(@make, @args) and print "@make @args failed, continuing anyway...\n";
  14. }
  15. my @targ = ($target, @$pass_through);
  16. print "Making $target in $ext_dir\n@run @make @targ\n";
  17. - my $code = system(@run, @make, @targ);
  18. +# my $code = system(@run, @make, @targ);
  19. + my $code = system(@make, @targ);
  20. die "Unsuccessful make($ext_dir): code=$code" if $code != 0;
  21. chdir $return_dir || die "Cannot cd to $return_dir: $!";