Alien-Base

 view release on metacpan or  search on metacpan

lib/Alien/Base.pm  view on Meta::CPAN

331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
  chomp ( my $pcdata = capture_merged { system( $command ) } );
 
  # if pkg-config fails for whatever reason, then we try to
  # fallback on alien_provides_*
  $pcdata = '' if $! || $?;
 
  $pcdata =~ s/\s*$//;
 
  if($self->config('system_provides')) {
    if(my $system_provides = $self->config('system_provides')->{$keyword}) {
      $pcdata = length $pcdata ? "$pcdata $system_provides" : $system_provides;
    }
  }
 
  return $pcdata;
}
 
# use parsed info from build .pc file
my $dist_dir = $self->dist_dir;
my @pc = $self->_pkgconfig(@_);
my @strings =



( run in 1.301 second using v1.01-cache-2.11-cpan-26ccb49234f )