63b27b
diff -rup yajl-2.1.0.orig/src/CMakeLists.txt yajl-2.1.0.new/src/CMakeLists.txt
63b27b
--- yajl-2.1.0.orig/src/CMakeLists.txt	2014-03-19 04:58:29.000000000 +0000
63b27b
+++ yajl-2.1.0.new/src/CMakeLists.txt	2014-04-28 11:19:28.431492533 +0100
63b27b
@@ -30,7 +30,7 @@ ADD_DEFINITIONS(-DYAJL_BUILD)
63b27b
 # set up some paths
63b27b
 SET (libDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib)
63b27b
 SET (incDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/include/yajl)
63b27b
-SET (shareDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/share/pkgconfig)
63b27b
+SET (pkgconfigDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib/pkgconfig)
63b27b
 
63b27b
 # set the output path for libraries
63b27b
 SET(LIBRARY_OUTPUT_PATH ${libDir})
63b27b
@@ -61,7 +61,7 @@ FILE(MAKE_DIRECTORY ${incDir})
63b27b
 # generate build-time source
63b27b
 SET(dollar $)
63b27b
 CONFIGURE_FILE(api/yajl_version.h.cmake ${incDir}/yajl_version.h)
63b27b
-CONFIGURE_FILE(yajl.pc.cmake ${shareDir}/yajl.pc)
63b27b
+CONFIGURE_FILE(yajl.pc.cmake ${pkgconfigDir}/yajl.pc)
63b27b
 
63b27b
 # copy public headers to output directory
63b27b
 FOREACH (header ${PUB_HDRS})
63b27b
@@ -84,4 +84,4 @@ INSTALL(TARGETS yajl
63b27b
 INSTALL(TARGETS yajl_s ARCHIVE DESTINATION lib${LIB_SUFFIX})
63b27b
 INSTALL(FILES ${PUB_HDRS} DESTINATION include/yajl)
63b27b
 INSTALL(FILES ${incDir}/yajl_version.h DESTINATION include/yajl)
63b27b
-INSTALL(FILES ${shareDir}/yajl.pc DESTINATION share/pkgconfig)
63b27b
+INSTALL(FILES ${pkgconfigDir}/yajl.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)