diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2011-08-07 21:27:31 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2011-08-07 21:27:31 +0000 |
commit | f75813a5f031c7ca4f33e7f5e609a5ff61af3a39 (patch) | |
tree | f56407cd7ca40a4d62c54b052c9c3a73ac06626f /graphics/rawtherapee | |
parent | f370ab233161c935bdc3abe7c4474e8a88554e56 (diff) | |
download | ports-f75813a5f031c7ca4f33e7f5e609a5ff61af3a39.tar.gz ports-f75813a5f031c7ca4f33e7f5e609a5ff61af3a39.zip |
Notes
Diffstat (limited to 'graphics/rawtherapee')
-rw-r--r-- | graphics/rawtherapee/files/patch-About-Linux.cmake | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/rawtherapee/files/patch-About-Linux.cmake b/graphics/rawtherapee/files/patch-About-Linux.cmake new file mode 100644 index 000000000000..e5c2a0ace5c9 --- /dev/null +++ b/graphics/rawtherapee/files/patch-About-Linux.cmake @@ -0,0 +1,20 @@ +--- About-Linux.cmake.orig 2011-08-07 14:16:30.000000000 -0700 ++++ About-Linux.cmake 2011-08-07 14:19:03.000000000 -0700 +@@ -12,16 +12,8 @@ + endif (HG_CMD STREQUAL HG_CMD-NOTFOUND) + + set (OUT_FILE "${SRC_DIR}/AboutThisBuild.txt") +-set (SHELL "/bin/bash") ++set (SHELL "/bin/sh") + # there should be a better way of getting the compiler + compiler version, not restrained to Gcc +-execute_process(COMMAND gcc -dumpversion OUTPUT_VARIABLE GCC_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) +-execute_process(COMMAND ${HG_CMD} -R ${SRC_DIR} branch OUTPUT_VARIABLE HG_BRANCH OUTPUT_STRIP_TRAILING_WHITESPACE) +-execute_process(COMMAND ${HG_CMD} parents --template={latesttag}.{latesttagdistance} WORKING_DIRECTORY ${SRC_DIR} OUTPUT_VARIABLE HG_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) +-execute_process(COMMAND ${HG_CMD} parents --template={node|short} WORKING_DIRECTORY ${SRC_DIR} OUTPUT_VARIABLE HG_CHANGESET OUTPUT_STRIP_TRAILING_WHITESPACE) +-execute_process(COMMAND ${HG_CMD} parents --template={latesttagdistance} WORKING_DIRECTORY ${SRC_DIR} OUTPUT_VARIABLE HG_TAGDISTANCE OUTPUT_STRIP_TRAILING_WHITESPACE) +-if (CACHE_NAME_SUFFIX STREQUAL "") +- execute_process(COMMAND ${HG_CMD} parents --template={latesttag} WORKING_DIRECTORY ${SRC_DIR} OUTPUT_VARIABLE CACHE_NAME_SUFFIX OUTPUT_STRIP_TRAILING_WHITESPACE) +-endif () + + # build version.h from template + configure_file (${SRC_DIR}/rtgui/version.h.in ${SRC_DIR}/rtgui/version.h) |