mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 15:40:32 -04:00
- Sort options helpers and add pkg-help to describe options better - Add CGIWRAPPER option which when turned off will turn off packaging of the setuid cgi-wrapper(1) binary - Cleanup post-patch; use LOCALBASE where appropriate - Drop incidental variables - Do not install useless documentation; README.md is a copy of pkg-descr; ChangeLog does not contain any juicy information either - Trim pkg-message further
12 lines
465 B
Text
12 lines
465 B
Text
--- CMakeLists.txt.orig 2018-09-11 05:44:11 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -39,7 +39,8 @@ include(FindZLIB)
|
|
include(cmake/CopyIfNotExists.cmake)
|
|
|
|
# Settings
|
|
-if(EXISTS "/proc/loadavg")
|
|
+check_function_exists(getloadavg HAVE_GETLOADAVG)
|
|
+if(HAVE_GETLOADAVG OR EXISTS "/proc/loadavg")
|
|
option(ENABLE_LOADCHECK "Enable the ability to check for server load." on)
|
|
endif()
|
|
set(CONFIG_DIR ${CMAKE_INSTALL_FULL_SYSCONFDIR}/hiawatha CACHE STRING "Configuration directory")
|