mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
- New Plugin Management System - Support for signalK input data streams - New Head-Up Navigation Mode - Docking the Dashboard with dual canvases - Realtime prediction of AIS target location Changelog: https://opencpn.org/OpenCPN/about/ver520.html PR: 252168 Submitted by: Andrea Venturoli <ml@netfence.it> (maintainer) Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D27798
24 lines
938 B
CMake
24 lines
938 B
CMake
--- cmake/TargetSetup.cmake.orig 2020-10-22 23:20:06 UTC
|
|
+++ cmake/TargetSetup.cmake
|
|
@@ -39,14 +39,14 @@ elseif(_wx_selected_config MATCHES "androideabi-qt")
|
|
endif(ANDROID_ARCH MATCHES "arm64")
|
|
|
|
elseif (UNIX)
|
|
- find_program(LSB_RELEASE NAMES lsb_release)
|
|
- if (NOT LSB_RELEASE)
|
|
- message(FATAL_ERROR
|
|
- "Cannot find the lsb_release program, please install.")
|
|
- endif ()
|
|
- execute_process(COMMAND ${LSB_RELEASE} "-is"
|
|
+# find_program(LSB_RELEASE NAMES lsb_release)
|
|
+# if (NOT LSB_RELEASE)
|
|
+# message(FATAL_ERROR
|
|
+# "Cannot find the lsb_release program, please install.")
|
|
+# endif ()
|
|
+ execute_process(COMMAND uname "-i"
|
|
OUTPUT_VARIABLE PKG_TARGET)
|
|
- execute_process(COMMAND ${LSB_RELEASE} "-rs"
|
|
+ execute_process(COMMAND uname "-r"
|
|
OUTPUT_VARIABLE PKG_TARGET_VERSION)
|
|
else ()
|
|
set(PKG_TARGET "unknown")
|