Alien-Base
view release on metacpan or search on metacpan
lib/Alien/Base.pm view on Meta::CPAN
331332333334335336337338339340341342343344345346347348349350351
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 )