$OpenBSD: patch-lib_common_logf_CMakeLists_txt,v 1.1 2019/08/12 15:41:55 bcallah Exp $

Index: lib/common/logf/CMakeLists.txt
--- lib/common/logf/CMakeLists.txt.orig
+++ lib/common/logf/CMakeLists.txt
@@ -30,7 +30,7 @@ set(SRCS_VECTOR
   )
 
 list(APPEND DEFINITIONS NDEBUG)
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+if(${LIBPGMATH_SYSTEM_NAME} MATCHES "Linux")
   list(APPEND DEFINITIONS _GNU_SOURCE)
 endif()
 
