summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--config.mk9
2 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index 12815ca..55738e5 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ This program is a fork from [spine](https://gitgud.io/zavok/spine.git) which is
Requirements
------------
-In order to build dmenu you need the Xlib header files.
+In order to build dmenu-pinentry you need the Xlib, and libconfig header files.
Installation
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}\"