freebsd-ports/multimedia/libcec/files/patch-src_libcec_cmake_SetBuildInfo.cmake
Thomas Zander 0cbe6a273b Update to upstream version 3.1.0, introduce OPTIONS for PYTHON, X11 and RPI
Details
- Turn existing python wrapper and X11 support into default OPTIONS
- Introduce RPI non-default OPTION on armv6

PR:		208161
Submitted by:	mickael.maillot@gmail.com
Approved by:	maintainer timeout
2016-04-16 18:00:46 +00:00

17 lines
638 B
CMake

--- src/libcec/cmake/SetBuildInfo.cmake.orig 2016-01-20 00:52:02 UTC
+++ src/libcec/cmake/SetBuildInfo.cmake
@@ -14,14 +14,7 @@ else()
set(LIB_INFO "")
# add git revision to compile info
- find_program(HAVE_GIT_BIN git /bin /usr/bin /usr/local/bin)
- if(HAVE_GIT_BIN)
- exec_program(${CMAKE_CURRENT_SOURCE_DIR}/../../support/git-rev.sh HEAD OUTPUT_VARIABLE GIT_REVISION)
- message(STATUS "git found: ${GIT_REVISION}")
- endif()
- if (GIT_REVISION)
set(LIB_INFO "git revision: ${GIT_REVISION},")
- endif()
# add compilation date to compile info
find_program(HAVE_DATE_BIN date /bin /usr/bin /usr/local/bin)