ports/devel/RStudio/files/patch-CMakeLists.txt
Yuri Victorovich da2f3f630c devel/RStudio: Revert "feat(create-turbo): apply official-starter transform"
This reverts commit 52c0456dd5.

I have no idea what lead to this commit into devel/RStudio and
lang/rust-nightly to be made.
2024-10-02 12:38:44 -07:00

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)