Package: libextutils-pkgconfig-perl / 1.16-5

Metadata

Package Version Patches format
libextutils-pkgconfig-perl 1.16-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
env_pkg_config.patch | (download)

lib/ExtUtils/PkgConfig.pm | 16 9 + 7 - 0 !
1 file changed, 9 insertions(+), 7 deletions(-)

 honour pkg_config environment variable
 autoconf and several other build system respect the PKG_CONFIG environment
 variable. This is useful e.g. for cross-building, where the "correct"
 pkg-config/pkgconf binary should be used. Cf. from
 /usr/share/doc/pkgconf-bin/README.md.gz:
 .
  In  terms  of  the  autoconf macro, it is possible to specify the
  PKG_CONFIG environment variable, so that you can test pkgconf without
  overwriting your pkgconfig binary. Some other build systems may also
  respect the PKG_CONFIG environment variable.
 .
  To set the environment variable on the bourne  shell  and  clones
  (i.e. bash), you can run:
 .
    $ export PKG_CONFIG=/usr/bin/pkgconf
 .
 In Debian, PKG_CONFIG is already set and/or exported by dpkg
 (/usr/share/dpkg/buildtools.mk) and by debhelper's EUMM and MB build
 helpers.
 .
 This patch uses the value of PKG_CONFIG if it's set instead of the
 hard-coded `pkg-config`.