freebsd-ports/graphics/opencv/files/patch-cmake__OpenCVVersion.cmake
Jason E. Hale 3a64305d43 - Update graphics/*opencv* to 2.4.7
- Revert options helpers to if statements since the OFF condition is not
  applied when OPTIONS_EXCLUDE is used
- Move most of the OpenCV modules from the graphics/opencv-core port to
  graphics/opencv, leaving opencv-core as just the bare minimum required
  for building ffmpeg with OpenCV support
- Install examples for python and java bindings
- Add new slave port graphics/opencv-java: Java bindings for OpenCV
- Bump PORTREVISION and make dependency adjustments and fixes for
  dependent ports
- Add UPDATING entry
2013-12-04 02:51:00 +00:00

11 lines
498 B
CMake

--- ./cmake/OpenCVVersion.cmake.orig 2013-10-24 00:12:48.000000000 -0400
+++ ./cmake/OpenCVVersion.cmake 2013-10-24 00:13:06.000000000 -0400
@@ -11,7 +11,7 @@
set(OPENCV_VERSION "${OPENCV_VERSION}.${OPENCV_VERSION_TWEAK}")
endif()
-set(OPENCV_SOVERSION "${OPENCV_VERSION_MAJOR}.${OPENCV_VERSION_MINOR}")
+set(OPENCV_SOVERSION "${OPENCV_VERSION_MAJOR}")
set(OPENCV_LIBVERSION "${OPENCV_VERSION_MAJOR}.${OPENCV_VERSION_MINOR}.${OPENCV_VERSION_PATCH}")
# create a dependency on version file