$OpenBSD: patch-Makefile,v 1.1.1.1 2017/06/13 09:24:23 kirby Exp $
--- Makefile.orig	Sun Sep 11 12:13:27 2016
+++ Makefile	Wed Sep 21 14:30:42 2016
@@ -3,15 +3,11 @@
 # Please update COMPILATION.txt if necessary after changing this file.
 #
 
--include Makefile.config
-# Makefile.config can be empty.  In this case application is build
-# to be executed from the current directory.
-#
-# Or Makefile.config may contain the following values:
-#   BINARY_DIR
-#   MANPAGE_DIR
-#   FULL_PATH_EXTRA_DATA_DIR
-#   INSTALLABLE                := "yes"
+BINARY_DIR := ${PREFIX}/bin
+SHARED_DIR := ${PREFIX}/share
+MANPAGE_DIR := ${PREFIX}/man/man6
+FULL_PATH_EXTRA_DATA_DIR := ${PREFIX}/share/ja2
+INSTALLABLE                := "yes"
 # In this case application can be installed.
 
 
@@ -58,6 +54,7 @@ endif
 
 CFLAGS += $(CFLAGS_SDL)
 LDFLAGS += $(LDFLAGS_SDL)
+LDFLAGS += -lboost_filesystem -lboost_system
 
 ############################################################
 # MinGW settings for building on Windows and for
@@ -100,7 +97,6 @@ CFLAGS += -I Build/Utils
 CFLAGS += -I sgp
 CFLAGS += -I src
 CFLAGS += -I _build/lib-MicroIni/include
-CFLAGS += -I _build/lib-boost
 CFLAGS += -I _build/lib-rapidjson
 CFLAGS += -I _build/lib-slog
 CFLAGS += -I _build/lib-smacker/libsmacker
@@ -524,16 +520,6 @@ SRCS += _build/lib-MicroIni/src/MicroIni/File.cpp
 SRCS += _build/lib-MicroIni/src/MicroIni/Line.cpp
 SRCS += _build/lib-MicroIni/src/MicroIni/Section.cpp
 SRCS += _build/lib-MicroIni/src/MicroIni/Value.cpp
-
-SRCS += _build/lib-boost/libs/system/src/error_code.cpp
-SRCS += _build/lib-boost/libs/filesystem/src/codecvt_error_category.cpp
-SRCS += _build/lib-boost/libs/filesystem/src/operations.cpp
-SRCS += _build/lib-boost/libs/filesystem/src/path.cpp
-SRCS += _build/lib-boost/libs/filesystem/src/path_traits.cpp
-SRCS += _build/lib-boost/libs/filesystem/src/portability.cpp
-SRCS += _build/lib-boost/libs/filesystem/src/unique_path.cpp
-SRCS += _build/lib-boost/libs/filesystem/src/utf8_codecvt_facet.cpp
-SRCS += _build/lib-boost/libs/filesystem/src/windows_file_codecvt.cpp
 
 SRCS += _build/lib-slog/slog/slog.c
 
