1 diff --git a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py
2 index 1bdf82931..db165ea12 100644
3 --- a/mesonbuild/modules/pkgconfig.py
4 +++ b/mesonbuild/modules/pkgconfig.py
5 @@ -701,10 +701,7 @@ class PkgConfigModule(NewExtensionModule):
6 pcfile = filebase + '.pc'
7 pkgroot = pkgroot_name = kwargs['install_dir'] or default_install_dir
9 - if mesonlib.is_freebsd():
10 - pkgroot = os.path.join(_as_str(state.environment.coredata.get_option(OptionKey('prefix'))), 'libdata', 'pkgconfig')
11 - pkgroot_name = os.path.join('{prefix}', 'libdata', 'pkgconfig')
12 - elif mesonlib.is_haiku():
13 + if mesonlib.is_haiku():
14 pkgroot = os.path.join(_as_str(state.environment.coredata.get_option(OptionKey('prefix'))), 'develop', 'lib', 'pkgconfig')
15 pkgroot_name = os.path.join('{prefix}', 'develop', 'lib', 'pkgconfig')