$OpenBSD: patch-CMakeLists_txt,v 1.5 2021/02/19 14:48:58 tracey Exp $
# assign proper lib name and add boost check
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -409,12 +409,12 @@ if( false )
     set( KIFACE_SUFFIX  ${CMAKE_SHARED_MODULE_SUFFIX} )
 else()
     # Temporary situation until we can dovetail the python DSO into the kiface DSO.
-    set( KIFACE_SUFFIX  ".kiface" )
+    set( KIFACE_SUFFIX  ".a" )
 endif()
 
 # KIFACE_PREFIX is a basename prefix used for top level program modules which
 # implement the KIFACE.
-set( KIFACE_PREFIX  "_" )
+set( KIFACE_PREFIX  "lib" )
 #message( STATUS "KIFACE_SUFFIX:${KIFACE_SUFFIX}  KIFACE_PREFIX:${KIFACE_PREFIX}" )
 
 
@@ -582,7 +582,7 @@ find_package( Pixman 0.30 REQUIRED )
 
 #
 # Find Boost headers, required.
-find_package( Boost 1.54.0 REQUIRED )
+find_package( Boost 1.54.0 REQUIRED COMPONENTS context system )
 
 # Include MinGW resource compiler.
 include( MinGWResourceCompiler )
