aboutsummaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv-2.4.11-pkgconfig.patch
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2015-03-07 09:35:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-07 09:35:48 +0700
commitb2f5d06a90f2d9ab2e4ab8ba535d7cf933a12772 (patch)
treeb0418984a4a36c5e58b04ccd1df2e69b6abe03e8 /libraries/opencv/opencv-2.4.11-pkgconfig.patch
parent74a3044c7914865e75fad8a41e712bac366ea6c0 (diff)
libraries/opencv: Updated for version 2.4.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0000000000000..facb1474fb36d
--- /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")