$OpenBSD$

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

Index: lib/monkey/CMakeLists.txt
--- lib/monkey/CMakeLists.txt.orig
+++ lib/monkey/CMakeLists.txt
@@ -14,7 +14,7 @@ include(GNUInstallDirs)

 # Set default compiler options
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra")
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")

 # Monkey Version
 set(MK_VERSION_MAJOR  1)
