1 diff -ur a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py
2 --- a/mesonbuild/modules/pkgconfig.py 2024-05-17 17:52:30.880877000 -0700
3 +++ b/mesonbuild/modules/pkgconfig.py 2024-05-17 17:53:10.901068000 -0700
5 pcfile = filebase + '.pc'
6 pkgroot = pkgroot_name = kwargs['install_dir'] or default_install_dir
8 - if mesonlib.is_freebsd():
9 - pkgroot = os.path.join(_as_str(state.environment.coredata.get_option(mesonlib.OptionKey('prefix'))), 'libdata', 'pkgconfig')
10 - pkgroot_name = os.path.join('{prefix}', 'libdata', 'pkgconfig')
11 - elif mesonlib.is_haiku():
12 + if mesonlib.is_haiku():
13 pkgroot = os.path.join(_as_str(state.environment.coredata.get_option(mesonlib.OptionKey('prefix'))), 'develop', 'lib', 'pkgconfig')
14 pkgroot_name = os.path.join('{prefix}', 'develop', 'lib', 'pkgconfig')