$OpenBSD: patch-CMakeLists_txt,v 1.9 2016/06/02 20:15:59 jasper Exp $

From cb8b0569104a5803fd658f1f0fadd13ae09cef1d Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Mon, 30 May 2016 14:39:48 +0200
Subject: [PATCH] (FACT-1431) Enable curl on OpenBSD

--- CMakeLists.txt.orig	Wed Jun  1 20:11:33 2016
+++ CMakeLists.txt	Thu Jun  2 08:55:31 2016
@@ -51,7 +51,7 @@ SET(LEATHERMAN_COMPONENTS locale catch nowide logging 
 
 # 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") OR WIN32) AND NOT WITHOUT_CURL)
+if ((("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") OR ("${CMAKE_SYSTEM_NAME}" MATCHES "OpenBSD") OR WIN32) AND NOT WITHOUT_CURL)
     find_package(CURL)
     if (CURL_FOUND)
         add_definitions(-DUSE_CURL)
