On Mon, 05 Aug 2024 19:40:13 +0200, Helmut Grohne wrote:

> +-system("pkg-config --exists yaz");
> ++my $PKG_CONFIG = $ENV{PKG_CONFIG} or "pkg-config";

Quick perl hint: 'or' has a low precedence, I've now replaced it with
'||'. Cf.

% perl -E '$PKG_CONFIG = $ENV{PKG_CONFIG} or "pkg-config"; say $PKG_CONFIG;'

% perl -E '$PKG_CONFIG = $ENV{PKG_CONFIG} || "pkg-config"; say $PKG_CONFIG;' 
pkg-config



Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature

Reply via email to