--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -30,7 +30,7 @@
 GET_PARAMETER(SHARE_DIR      share)
 # FreeBSD ports adds a patch for this directory
 # so make it configurable
-GET_PARAMETER(PKGCONFIG_DIR  lib/pkgconfig)
+GET_PARAMETER(PKGCONFIG_DIR  libdata/pkgconfig)
 
 if (WATCOM)
   message(STATUS "*CAUTION* open watcom is experimental")
