adopt make config for FreeBSD

added /usr/local/lib for LIBS and /usr/local/include for INC
master
Dominic Reich 3 months ago
parent 51d6656eac
commit 23f4b5ed35
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -16,13 +16,16 @@ XINERAMAFLAGS = -DXINERAMA
# Freetype
FREETYPELIBS = -lfontconfig -lXft
FREETYPEINC = /usr/include/freetype2
#FREETYPEINC = /usr/include/freetype2
# OpenBSD (uncomment)
#FREETYPEINC = ${X11INC}/freetype2
# FreeBSD
FREETYPEINC = /usr/local/include/freetype2
# Includes and libs
INCS = -I${X11INC} -I${FREETYPEINC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# FreeBSD has this within /usr/local/{include,lib}
INCS = -I/usr/local/include -I${X11INC} -I${FREETYPEINC}
LIBS = -L/usr/local/lib -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# Flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DPACKAGE_VERSION=\"${VERSION}\" -DPACKAGE_BUGREPORT=\"${BUGREPORT}\"

Loading…
Cancel
Save