mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 11:10:32 -04:00
The patch has been submitted upstream, but some users depend on it now, so ship it: https://github.com/puppetlabs/facter/pull/1762
11 lines
543 B
Text
11 lines
543 B
Text
--- CMakeLists.txt.orig 2018-10-23 22:00:38 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -52,7 +52,7 @@ SET(LEATHERMAN_COMPONENTS locale catch n
|
|
|
|
# We look for curl early, because whether or not we link to the leatherman curl library
|
|
# is dependant on whether or not we find curl on the system.
|
|
-if ((("${CMAKE_SYSTEM_NAME}" MATCHES "Linux|OpenBSD") OR WIN32) AND NOT WITHOUT_CURL)
|
|
+if ((("${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD|Linux|OpenBSD") OR WIN32) AND NOT WITHOUT_CURL)
|
|
find_package(CURL)
|
|
if (CURL_FOUND)
|
|
add_definitions(-DUSE_CURL)
|