diff options
author | M.Dinslage <daedra1980@gmail.com> | 2011-10-05 06:44:33 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-10-11 21:20:28 -0500 |
commit | 1add2af03796f6bc2271d891d997aa006b16d1e7 (patch) | |
tree | f139f1a2ef4a5ddac54147fef27842644e8a1eda /libraries/opencv/libopencv-2.3.1a-libdir.patch | |
parent | f097f5393482b8fed448964fdcd3931fe8c4d0ac (diff) |
libraries/opencv: Updated for version 2.3.1a.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/opencv/libopencv-2.3.1a-libdir.patch')
-rw-r--r-- | libraries/opencv/libopencv-2.3.1a-libdir.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/opencv/libopencv-2.3.1a-libdir.patch b/libraries/opencv/libopencv-2.3.1a-libdir.patch new file mode 100644 index 0000000000000..21238cc4b7d51 --- /dev/null +++ b/libraries/opencv/libopencv-2.3.1a-libdir.patch @@ -0,0 +1,15 @@ +diff -up OpenCV-2.3.1/CMakeLists.txt.00 OpenCV-2.3.1/CMakeLists.txt +--- OpenCV-2.3.1/CMakeLists.txt.00 2011-10-04 23:10:12.177001665 -0500 ++++ OpenCV-2.3.1/CMakeLists.txt 2011-10-04 23:11:39.808001668 -0500 +@@ -665,9 +665,9 @@ if(CMAKE_HOST_UNIX) + OUTPUT_VARIABLE PYTHON_STD_PACKAGES_PATH + OUTPUT_STRIP_TRAILING_WHITESPACE) + if("${PYTHON_STD_PACKAGES_PATH}" MATCHES "site-packages") +- set(PYTHON_PACKAGES_PATH lib/python${PYTHON_VERSION_MAJOR_MINOR}/site-packages CACHE PATH "Where to install the python packages.") ++ set(PYTHON_PACKAGES_PATH lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR_MINOR}/site-packages CACHE PATH "Where to install the python packages.") + else() #debian based assumed, install to the dist-packages. +- set(PYTHON_PACKAGES_PATH lib/python${PYTHON_VERSION_MAJOR_MINOR}/dist-packages CACHE PATH "Where to install the python packages.") ++ set(PYTHON_PACKAGES_PATH lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR_MINOR}/dist-packages CACHE PATH "Where to install the python packages.") + endif() + endif() + if(CMAKE_HOST_WIN32) |