aboutsummaryrefslogtreecommitdiff
path: root/textproc/uchardet/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/uchardet/files/patch-CMakeLists.txt')
-rw-r--r--textproc/uchardet/files/patch-CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/uchardet/files/patch-CMakeLists.txt b/textproc/uchardet/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..59c47a8baf19
--- /dev/null
+++ b/textproc/uchardet/files/patch-CMakeLists.txt
@@ -0,0 +1,19 @@
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -31,6 +31,7 @@
+
+ set (DIR_PREFIX ${CMAKE_INSTALL_PREFIX})
+ set (DIR_LIBRARY ${DIR_PREFIX}/${CMAKE_SHARED_LIBRARY_PREFIX})
++set (DIR_LIBDATA ${DIR_PREFIX}/libdata)
+ set (DIR_LIBRARY_STATIC ${DIR_PREFIX}/${CMAKE_STATIC_LIBRARY_PREFIX})
+ set (DIR_INCLUDE ${DIR_PREFIX}/include)
+ set (DIR_SHARE ${DIR_PREFIX}/share)
+@@ -69,7 +70,7 @@
+ FILES
+ ${CMAKE_BINARY_DIR}/uchardet.pc
+ DESTINATION
+- ${DIR_LIBRARY}/pkgconfig
++ ${DIR_LIBDATA}/pkgconfig
+ )
+
+ ######## Subdirectories