diff options
author | Juergen Lock <nox@FreeBSD.org> | 2012-02-26 15:22:37 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2012-02-26 15:22:37 +0000 |
commit | d613b75b1d87505cc967bc6f8b7a419b2d57be5b (patch) | |
tree | fb8dfa0620864eed2a359680644745507734b86a /x11/kdelibs4/files | |
parent | 448b972896fbb34deed41c2bf9c30b12c6b16bc6 (diff) | |
download | ports-d613b75b1d87505cc967bc6f8b7a419b2d57be5b.tar.gz ports-d613b75b1d87505cc967bc6f8b7a419b2d57be5b.zip |
Notes
Diffstat (limited to 'x11/kdelibs4/files')
-rw-r--r-- | x11/kdelibs4/files/patch-cmake-modules-FindXine.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/kdelibs4/files/patch-cmake-modules-FindXine.cmake b/x11/kdelibs4/files/patch-cmake-modules-FindXine.cmake new file mode 100644 index 000000000000..1942c75267f1 --- /dev/null +++ b/x11/kdelibs4/files/patch-cmake-modules-FindXine.cmake @@ -0,0 +1,11 @@ +--- cmake/modules/FindXine.cmake 2011-09-26 06:34:51.000000000 -0300 ++++ cmake/modules/FindXine.cmake 2012-01-25 20:37:43.000000000 -0200 +@@ -42,7 +42,7 @@ + ) + + if (XINE_INCLUDE_DIR AND XINE_LIBRARY AND XINECONFIG_EXECUTABLE) +- exec_program(${XINECONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE XINE_VERSION ERROR_QUIET) ++ execute_process(COMMAND ${XINECONFIG_EXECUTABLE} --version OUTPUT_VARIABLE XINE_VERSION ERROR_QUIET) + if("${XINE_VERSION}" VERSION_GREATER "1.1.0") #if (... VERSION_GREATER) is new since cmake 2.6.2 + set(XINE_VERSION_OK TRUE) + string(REGEX REPLACE "[0-9]\\.[0-9]\\." "" XINE_BUGFIX_VERSION ${XINE_VERSION}) |