Bug#1078010: libnet-z3950-zoom-perl FTCBFS: hard codes the build architecture pkg-config

gregor herrmann gregoa at debian.org
Wed Aug 7 16:18:38 BST 2024


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
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20240807/d56cad17/attachment.sig>


More information about the pkg-perl-maintainers mailing list