From: Darrick J. Wong Date: Mon, 13 Oct 2025 18:11:13 +0000 (-0700) Subject: debian/rules: remove extra pkg-config X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d50e6b0465e01379ccc46bab558db2006efb35d4;p=thirdparty%2Fe2fsprogs.git debian/rules: remove extra pkg-config Not sure why the definition for deb_udevudevdir calls pkg-config with the string "pkg-config" as its first argument. Even more crazily, this happens on Debian 12: $ pkg-config --variable=udevdir udev /lib/udev $ pkg-config pkg-config --variable=udevdir udev /lib/udev Note the leading space! Given the sed script in the same definition, I'm guessing that the extra space is NOT the desired behavior. Cc: # v1.47.1 Fixes: 288de9fb396811 ("debian: acknowledge NMU'ed changes to 1.47.0-2.4") Signed-off-by: "Darrick J. Wong" --- diff --git a/debian/rules b/debian/rules index 4cb80652..c88675c9 100755 --- a/debian/rules +++ b/debian/rules @@ -16,7 +16,7 @@ endif ifeq ($(DEB_HOST_ARCH_OS), linux) export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,) -export deb_udevudevdir = $(shell pkg-config pkg-config --variable=udevdir udev | sed s,^/,,) +export deb_udevudevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,) endif ifneq ($(filter pkg.e2fsprogs.no-fuse2fs,$(DEB_BUILD_PROFILES)),)