--- CMakeLists.txt.orig	2017-09-23 20:35:38 UTC
+++ CMakeLists.txt
@@ -42,7 +42,7 @@ GET_PARAMETER(INCLUDE_DIR    include)
 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")
