summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2022-04-18 19:01:14 +0200
committerTom Barrett <tom@tombarrett.xyz>2022-04-18 19:01:14 +0200
commitdc4e993b3d5223d758eeb72fac1424da492b58c2 (patch)
tree204f53b8dc83b42b27f976bfef4d7a23f085f628 /config.mk
parenta4f7d150c7395faf72fb167ac333170668124866 (diff)
parentb514b660285b66ee1a2d72c4838f647332e4a0cc (diff)
Merge branch 'master' of core-a:/mnt/repos/public/pinentry-dmenu
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}\"