mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
This reverts commit 52c0456dd5
.
I have no idea what lead to this commit into devel/RStudio and
lang/rust-nightly to be made.
19 lines
799 B
Text
19 lines
799 B
Text
--- CMakeLists.txt.orig 2019-09-19 13:59:21 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -31,7 +31,7 @@ endif()
|
|
if (NOT RSTUDIO_SESSION_WIN32)
|
|
# dynamically configure SOURCE with the git revision hash
|
|
INSTALL(CODE "
|
|
- execute_process(COMMAND git rev-parse HEAD
|
|
+ execute_process(COMMAND printf ${FREEBSD_PORT_VERSION}
|
|
WORKING_DIRECTORY \"${CMAKE_CURRENT_SOURCE_DIR}\"
|
|
OUTPUT_VARIABLE RSTUDIO_GIT_REVISION_HASH)
|
|
configure_file (\"${CMAKE_CURRENT_SOURCE_DIR}/SOURCE.in\"
|
|
@@ -40,6 +40,7 @@ if (NOT RSTUDIO_SESSION_WIN32)
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/VERSION.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/VERSION)
|
|
+ set(RSTUDIO_VERSION ${FREEBSD_RSTUDIO_VERSION})
|
|
|
|
# install root docs
|
|
include(CMakeInstallDocs.txt)
|