From 247d8f14f86f8049a46e237092a7a64222e69c99 Mon Sep 17 00:00:00 2001 From: schizoid Date: Fri, 6 Dec 2024 15:06:31 -0500 Subject: Ported DWM to OpenBSD --- config.mk | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index fe02ea2..bb500ac 100644 --- a/config.mk +++ b/config.mk @@ -15,16 +15,21 @@ XINERAMALIBS = -lXinerama XINERAMAFLAGS = -DXINERAMA # freetype -FREETYPELIBS = -lfontconfig -lXft -FREETYPEINC = /usr/include/freetype2 +#FREETYPELIBS = -lfontconfig -lXft +#FREETYPEINC = /usr/include/freetype2 # OpenBSD (uncomment) -#FREETYPEINC = ${X11INC}/freetype2 -#MANPREFIX = ${PREFIX}/man +#FREETYPEINC = ${X11INC}/Xft +FREETYPEINC = /usr/X11R6/include/freetype2 +MANPREFIX = ${PREFIX}/man # includes and libs -INCS = -I${X11INC} -I${FREETYPEINC} +#INCS = -I${X11INC} -I${FREETYPEINC} +INCS = -I${X11INC} -I${FREETYPEINC} -I/usr/local/include #LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lfontconfig -lXft -lXrender -LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lfontconfig -lXft -lXrender -lImlib2 +#LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lfontconfig -lXft -lXrender -lImlib2 +#LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lfontconfig -lXft -lXrender +#LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lfontconfig -lXft -lXrender -lImlib2 +LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lfontconfig -lXft -lXrender -L/usr/local/lib -lImlib2 # flags CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -- cgit v1.2.3