ports/security/libscep/files/patch-cmake_FindCheck.cmake
Rodrigo Osorio 2018f7d460 New ports security/libscep and security/p5-Crypt-LibSCEP
libscep is a client side implementation of the Simple Certificate
Enrollment Protocol (SCEP) library.

p5-Crypt-LibSCEP is a perl module using the libscep library
to generate and read messages for the Simple Certificate Enrollment
Protocol (SCEP) in perl applications.

PR:		241195
Submitted by:	Sergei Vyshenski <svysh.fbsd@gmail.com>
2019-10-13 16:02:00 +00:00

20 lines
756 B
CMake

--- cmake/FindCheck.cmake.orig 2019-05-31 11:07:23 UTC
+++ cmake/FindCheck.cmake
@@ -23,7 +23,7 @@ INCLUDE( FindPkgConfig )
PKG_SEARCH_MODULE( CHECK check )
# Look for CHECK include dir and libraries
-IF( NOT CHECK_FOUND )
+#IF( NOT CHECK_FOUND )
IF ( CHECK_INSTALL_DIR )
MESSAGE ( STATUS "Using override CHECK_INSTALL_DIR to find check" )
SET ( CHECK_INCLUDE_DIR "${CHECK_INSTALL_DIR}/include" )
@@ -50,7 +50,7 @@ IF( NOT CHECK_FOUND )
ENDIF ( NOT Check_FIND_QUIETLY )
ENDIF ( Check_FIND_REQUIRED )
ENDIF ( CHECK_INCLUDE_DIR AND CHECK_LIBRARIES )
-ENDIF( NOT CHECK_FOUND )
+#ENDIF( NOT CHECK_FOUND )
# Hide advanced variables from CMake GUIs
MARK_AS_ADVANCED( CHECK_INCLUDE_DIR CHECK_LIBRARIES )