The Linuxes I've checked all seem to use /usr/{,local/}lib*/pkgconfig, not /usr/libdata/. I think FreeBSD does use /usr/libdata/ but also supports /usr/lib*/pkgconfig, although I have not tested this change on a FreeBSD system.