--- Makefile.in.orig 2012-05-23 14:35:00.000000000 +0400 +++ Makefile.in 2013-02-08 15:37:27.000000000 +0400 @@ -282,7 +282,7 @@ # autogen.sh and cleanrepo.sh are script for maintainance use. Not for distribution. # dist_noinst_SCRIPTS = autogen.sh -pkgconfigdir = $(libdir)/pkgconfig +pkgconfigdir = ${exec_prefix}/libdata/pkgconfig pkgconfig_DATA = cld.pc basic_test_SOURCES = tests/basic_test.cc basic_test_CXXFLAGS = -Wall -fPIC -Isrc/ -I../src -O2 -DCLD_WINDOWS