$OpenBSD$

avoid gmake-ism, only used to strip off the build path from trace functions

Index: lib/chunkio/CMakeLists.txt
--- lib/chunkio/CMakeLists.txt.orig
+++ lib/chunkio/CMakeLists.txt
@@ -14,12 +14,7 @@ else()
   set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall ")
 endif()

-# Set __FILENAME__
-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
-  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
-else()
-  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
-endif()
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")

 # ChunkIO options
 option(CIO_DEV               "Enable dev/test mode"         Off)
