Perl-Repository-APC

 view release on metacpan or  search on metacpan

scripts/buildaperl  view on Meta::CPAN

212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
unless (close $make) {
  my $ret = $?;
  # if ($makeout =~ /No rule to make target.*built-in/) {
  if ($makeout =~ /(?:no rule to make target|don't know how to make).*built-in/i) {
    print "\aWARNING: Running 'make' failed. It produced the infamous
<built-in> error that old perls have with new gccs. I'll work around this
in the makefiles now and retry. If you do not like that, hit ^C and FIXME.
Sleeping 5 seconds...\n";
    sleep 5;
    {
      local @ARGV = qw( makefile x2p/makefile);
      local $^I = "~";
      while (<>) {
        print unless /<(built-in|command line)>/;
      }
    }
    mysystem "make$target";
  } else {
    die "make failed with ret[$ret]";
  }
}



( run in 0.259 second using v1.01-cache-2.11-cpan-95122f20152 )