~ubuntu-branches/ubuntu/trusty/pdl/trusty-proposed

« back to all changes in this revision

Viewing changes to Basic/Gen/Inline/Pdlpp.pm

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-12-05 12:37:41 UTC
  • mfrom: (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091205123741-ilqkc9s4zlk71z13
Tags: 1:2.4.5+dfsg-2ubuntu1
* Merge from debian testing (LP: #492898), remaining changes:
  - debian/perldl.conf: Enabled NAN support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
335
335
      or croak "Can't locate your make binary";
336
336
    $cwd = &cwd;
337
337
    ($cwd) = $cwd =~ /(.*)/ if $o->UNTAINT;
338
 
    my $noisy = $o->{ILSM}{NOISY} ? '| tee' : '';
339
 
    for $cmd ("$perl Makefile.PL $noisy > out.Makefile_PL 2>&1",
 
338
    my $noisy = $o->{ILSM}{NOISY} || $o->{CONFIG}{BUILD_NOISY} ? '| tee' : '';
 
339
    my $suffix1 = '> out.Makefile_PL 2>&1';
 
340
    my $suffix2 = '> out.make 2>&1';
 
341
    my $suffix3 = '> out.make_install 2>&1';
 
342
 
 
343
    if($^O =~ /mswin/i && $noisy){
 
344
      $noisy = ''; # no 'tee' on MS Windows. 
 
345
      ($suffix1, $suffix2, $suffix3) = ('', '', '');
 
346
      } 
 
347
 
 
348
    for $cmd ("$perl Makefile.PL $noisy $suffix1",
340
349
              \ &fix_make,   # Fix Makefile problems
341
 
              "$make $noisy > out.make 2>&1",
342
 
              "$make pure_install $noisy > out.make_install 2>&1",
 
350
              "$make $noisy $suffix2",
 
351
              "$make pure_install $noisy $suffix3",
343
352
             ) {
344
353
        if (ref $cmd) {
345
354
            $o->$cmd();