Depend on pkgconf in preference to pkg-config
authorSimon McVittie <smcv@debian.org>
Mon, 23 Oct 2023 09:36:27 +0000 (10:36 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 23 Oct 2023 09:36:27 +0000 (10:36 +0100)
debian/control
debian/tests/build
debian/tests/control

index a3b32b1763f9789080ab37a054c83208f418fc09..0a5250208e81036b92a5748e5b86ff8bf7ab2a36 100644 (file)
@@ -41,6 +41,7 @@ Build-Depends:
  libsoup-3.0-dev (>= 3.0.0),
  libsystemd-dev,
  libtool,
+ pkgconf,
  procps,
  python3 <!nocheck>,
  python3-yaml <!nocheck>,
@@ -100,7 +101,7 @@ Depends:
  gir1.2-ostree-1.0 (= ${binary:Version}),
  libglib2.0-dev (>= 2.66.0),
  libostree-1-1 (= ${binary:Version}),
- pkg-config,
+ pkgconf,
  ${misc:Depends},
 Suggests:
  libostree-doc,
index 1a40303e28c8a5b34b38a48e864510bdaa34d9fa..f34c7c7d284327cf73eed96d2e895af69cc40075 100755 (executable)
@@ -22,9 +22,9 @@ int main (void)
 }
 EOF
 
-# Deliberately word-splitting, that's how pkg-config works:
+# Deliberately word-splitting, that's how pkgconf works:
 # shellcheck disable=SC2046
-"${CROSS_COMPILE}gcc" -o trivial trivial.c $("${CROSS_COMPILE}pkg-config" --cflags --libs ostree-1 gobject-2.0)
+"${CROSS_COMPILE}gcc" -o trivial trivial.c $("${CROSS_COMPILE}pkgconf" --cflags --libs ostree-1 gobject-2.0)
 test -x trivial
 ./trivial
 echo "OK"
index f619ebc9ee1b0b197a1b52c5094cc344e5436e41..b4286132f7edb2b00cea39273ae405e55516bdef 100644 (file)
@@ -12,4 +12,4 @@ Depends: gnome-desktop-testing, ostree-tests
 
 Tests: build
 Restrictions: superficial
-Depends: build-essential, libostree-dev, pkg-config
+Depends: build-essential, libostree-dev, pkgconf