Commit 4e01b644a2 for frr

commit 4e01b644a2587076679f61991622fb1024ef9705
Author: David 'equinox' Lamparter <equinox@opensourcerouting.org>
Date:   Wed Oct 14 22:47:51 2026 +0200

    debian: fix .pc install path, ship in test-tools

    The .pc file, if installed, belongs in `/usr/lib/multiarch/pkgconfig`,
    without `/frr` in there.  Unfortunately we're setting `libdir` to
    include a `/frr` and that seeps down into the pkgconfig path.  Pass the
    right value in Debian's configure line.

    For now, we don't have a `-dev` package, so the file goes into
    `frr-test-tools`.

    Signed-off-by: David 'equinox' Lamparter <equinox@opensourcerouting.org>

diff --git a/debian/frr-test-tools.install b/debian/frr-test-tools.install
index 04ad09a287..6717650258 100644
--- a/debian/frr-test-tools.install
+++ b/debian/frr-test-tools.install
@@ -1,2 +1,3 @@
 usr/lib/frr/fpm_listener
 usr/lib/frr/bfd_dplane_listener
+usr/lib/*/pkgconfig/frr.pc
diff --git a/debian/frr-test-tools.lintian-overrides b/debian/frr-test-tools.lintian-overrides
new file mode 100644
index 0000000000..ddbe48876b
--- /dev/null
+++ b/debian/frr-test-tools.lintian-overrides
@@ -0,0 +1,3 @@
+# The -Wno-* flags are intentional: FRR headers trigger many warnings
+# without them, and consumers need these flags to compile cleanly.
+frr-test-tools: pkg-config-bad-directive *
diff --git a/debian/not-installed b/debian/not-installed
index a5eeb2ec8d..8999dd948b 100644
--- a/debian/not-installed
+++ b/debian/not-installed
@@ -2,4 +2,3 @@ usr/include
 usr/lib/frr/ospfclient
 usr/lib/frr/rfptest
 usr/lib/*/frr/modules/dplane_sample_plugin.so
-usr/lib/*/frr/pkgconfig/frr.pc
diff --git a/debian/rules b/debian/rules
index 21094c62d9..75bfef3530 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,6 +62,7 @@ override_dh_auto_configure:
 		--sbindir=/usr/lib/frr \
 		--with-vtysh-pager=/usr/bin/pager \
 		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/frr \
+		--with-pkgconfigdir=/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
 		--with-moduledir=/usr/lib/$(DEB_HOST_MULTIARCH)/frr/modules \
 		LIBTOOLFLAGS="-rpath /usr/lib/$(DEB_HOST_MULTIARCH)/frr" \
 		--disable-dependency-tracking \