freebsd-ports/games/spring/files/patch-rts_build_cmake_UtilVersion.cmake
Dmitry Marakasov 58bb6e25da games/spring: update 105.0.1 → 106.0.1
- Remove some patches which were upstreamed after the previous update
- Simplify passing port version to the build system, it now supports
  passing through a file
- Consolidate most remaining patches into two larger topic chunks
  for easier handling and upstreaming; ramaining patches will be
  upstreamed in this go
2022-03-18 19:01:29 +03:00

11 lines
569 B
CMake

--- rts/build/cmake/UtilVersion.cmake.orig 2022-01-10 23:00:52 UTC
+++ rts/build/cmake/UtilVersion.cmake
@@ -183,7 +183,7 @@ macro (fetch_spring_version dir prefix)
# Try to fetch version through VERSION file
get_version_from_file(${prefix}_VERSION "${dir}/VERSION")
if (${${prefix}_VERSION-NOTFOUND})
- message (FATAL_ERROR "Failed to fetch ${prefix} version.")
+ message (FATAL_ERROR "Failed to fetch ${prefix} version from ${dir}/VERSION.")
else ()
message (STATUS "${prefix} version fetched from VERSION file: ${${prefix}_VERSION}")
endif ()