On Sun, May 09, 2021 at 08:29:56PM +0300, Christos Margiolis wrote: > `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 > Hi, Thanks for the patch. I know there is an example OpenBSD comment too, but I don't want to add FreeBSD or any more platforms. In the past there was a Solaris comment, but not many people use that anymore. -- Kind regards, Hiltjo
