summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-08-31 18:25:26 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-08-31 18:25:26 -0400
commite404858515a63a5e80ea0244188238806cd6e899 (patch)
tree3dc4f5c021639a11980cc366a01c217d1c4b58a4 /config.mk
parent76abb1451f3df749a79ea3f4f5be3bda717bb484 (diff)
Add a note in the readme and config.mk for building on OpenBSD
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 4c71211..c563711 100644
--- a/config.mk
+++ b/config.mk
@@ -18,11 +18,14 @@ XINERAMAFLAGS = -DXINERAMA
FREETYPELIBS = -lfontconfig -lXft
FREETYPEINC = /usr/include/freetype2
# OpenBSD (uncomment)
-#FREETYPEINC = ${X11INC}/freetype2
+FREETYPEINC = ${X11INC}/freetype2
+ADDINCS = -I/usr/local/include
+ADDLIBS = -L/usr/local/lib
# Includes and libs
-INCS = -I${X11INC} -I${FREETYPEINC}
-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
+INCS = -I${X11INC} -I${FREETYPEINC} ${ADDINCS}
+LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} ${ADDLIBS}
+
# Flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DPACKAGE_VERSION=\"${VERSION}\" -DPACKAGE_BUGREPORT=\"${BUGREPORT}\"