`config.mk' didn't have the appropriate `X11INC', `X11LIB', `FREETYPEINC' options for dwm to build on FreeBSD, so I added them.
-- Kind regards, Christos
>From afc59913952b5c38119bbcbf1aa17fe3498c8766 Mon Sep 17 00:00:00 2001 From: Christos Margiolis <[email protected]> Date: Sun, 9 May 2021 20:26:16 +0300 Subject: [PATCH] config.mk: added build options for FreeBSD --- config.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.mk b/config.mk index 7084c33..9f2d98e 100644 --- a/config.mk +++ b/config.mk @@ -9,6 +9,9 @@ MANPREFIX = ${PREFIX}/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib +# FreeBSD (uncomment) +#X11INC = /usr/local/include +#X11LIB = /usr/local/lib # Xinerama, comment if you don't want it XINERAMALIBS = -lXinerama @@ -17,6 +20,8 @@ XINERAMAFLAGS = -DXINERAMA # freetype FREETYPELIBS = -lfontconfig -lXft FREETYPEINC = /usr/include/freetype2 +# FreeBSD (uncomment) +#FREETYPEINC = /usr/local/include/freetype2 # OpenBSD (uncomment) #FREETYPEINC = ${X11INC}/freetype2 -- 2.31.1
