summaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv-2.4.11-pkgconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/opencv/opencv-2.4.11-pkgconfig.patch')
-rw-r--r--libraries/opencv/opencv-2.4.11-pkgconfig.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/opencv/opencv-2.4.11-pkgconfig.patch b/libraries/opencv/opencv-2.4.11-pkgconfig.patch
new file mode 100644
index 0000000000..facb1474fb
--- /dev/null
+++ b/libraries/opencv/opencv-2.4.11-pkgconfig.patch
@@ -0,0 +1,12 @@
+diff -baur opencv-2.4.7.orig/cmake/OpenCVGenPkgconfig.cmake opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake
+--- opencv-2.4.7.orig/cmake/OpenCVGenPkgconfig.cmake 2013-11-12 20:31:27.253763202 +0000
++++ opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake 2013-11-12 20:41:48.936262732 +0000
+@@ -10,7 +10,7 @@
+ # -------------------------------------------------------------------------------------------
+ set(prefix "${CMAKE_INSTALL_PREFIX}")
+ set(exec_prefix "\${prefix}")
+-set(libdir "\${exec_prefix}/${OPENCV_LIB_INSTALL_PATH}")
++set(libdir "\${prefix}/${OPENCV_LIB_INSTALL_PATH}")
+ set(includedir "\${prefix}/${OPENCV_INCLUDE_INSTALL_PATH}")
+
+ if(CMAKE_BUILD_TYPE MATCHES "Release")