Re: git: 5a4eeed2e2cd - main - x11/xkeyboard-config: Fix pkg-plist after e6f66fef0255

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 11 Nov 2023 07:50:08 UTC
"Jason E. Hale" <jhale@FreeBSD.org> writes:

> --- /dev/null
> +++ b/x11/xkeyboard-config/files/patch-meson.build
> @@ -0,0 +1,11 @@
> +--- meson.build.orig	2023-11-11 04:37:00 UTC
> ++++ meson.build
> +@@ -7,7 +7,7 @@ dir_man7        = join_paths(get_option('prefix'), get
> + dir_xkb_base    = join_paths(dir_data, 'X11', 'xkb')
> + dir_xkb_rules   = join_paths(dir_xkb_base, 'rules')
> + dir_man7        = join_paths(get_option('prefix'), get_option('mandir'), 'man7')
> +-dir_pkgconfig   = join_paths(dir_data, 'pkgconfig')
> ++dir_pkgconfig   = join_paths(get_option('prefix'), 'libdata', 'pkgconfig')

Why not fix bogus *_DEPENDS in consumers? share/pkgconfig is common in ports/.
See https://cgit.freebsd.org/ports/commit/?id=d48fab59daa5 and the following:

$ rg -lg pkg-plist share/pkgconfig | sed s,/pkg-plist,,
x11-wm/hyprland
audio/xuidesigner
net-mgmt/resource-agents
devel/ctre
devel/blueprint-compiler
devel/pybind11
devel/quantum
devel/librolegen
devel/cli11
devel/sol2
devel/nlohmann-json
net-mgmt/fence-agents
devel/cli
devel/xtl-quant-stack
databases/mariadb105-server
math/blis
math/xtensor
math/trlib
math/cppad
deskutils/libcprime
deskutils/xdg-desktop-portal
graphics/kseexpr