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: <linux-ext4@vger.kernel.org> # v1.47.1
Fixes: 288de9fb396811 ("debian: acknowledge NMU'ed changes to 1.47.0-2.4")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
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)),)