File: pkg-prog-pkg-config.patch

package info (click to toggle)
libgsf 1.14.53-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,548 kB
  • sloc: ansic: 20,417; sh: 5,043; perl: 495; makefile: 326; xml: 183; python: 39; sed: 16
file content (20 lines) | stat: -rw-r--r-- 638 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Helmut Grohne <helmut@subdivi.de>
Date: Sat, 20 Jan 2024 22:11:22 +0100
Subject: Use recommended upstream macro PKG_PROG_PKG_CONFIG to detect pkg-config

This ensures that during cross-compilation it detects the host architecture
pkg-config in preference to the build architecture pkg-config.

Bug-Debian: https://bugs.debian.org/1061247

--- libgsf-1.14.51.orig/configure.ac
+++ libgsf-1.14.51/configure.ac
@@ -49,7 +49,7 @@
 
 AC_FUNC_FSEEKO
 AC_SYS_LARGEFILE
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+PKG_PROG_PKG_CONFIG
 
 dnl Gettext/i18n stuff
 # FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION