$OpenBSD$

Index: configs/mconfig.OpenBSD
--- configs/mconfig.OpenBSD.orig
+++ configs/mconfig.OpenBSD
@@ -1,15 +1,15 @@
 # Installation path options.
 
-SBINDIR=/sbin
-MANDIR=/usr/share/man
-SYSCONTROLSOCKET=/dev/dinitctl
+SBINDIR=${LOCALBASE}/sbin
+MANDIR=${LOCALBASE}/man
+SYSCONTROLSOCKET=${VARBASE}/run/dinit.sock
 
 
 # General build options. Uncomment the options appropriate for your system.
 
 # OpenBSD, tested with GCC 4.9.3 / Clang++ 4/5 and gmake:
-CXX=clang++
-CXXOPTS=-std=c++11 -Os -Wall -fno-rtti
+CXX=c++
+CXXOPTS=-std=c++11 -Wall -fno-rtti ${CXXFLAGS}
 LDFLAGS=
 BUILD_SHUTDOWN=no
 SANITIZEOPTS=
