diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-03-15 20:21:54 +0100 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-03-15 20:21:54 +0100 |
commit | ceda5d69ac1c644bde0271012b90ea8bd02e69fb (patch) | |
tree | 9f0d7c7c1e9be8d7284d7c898e28ae1eada2858c | |
parent | c61e9a4b8a3eb2c08585c533dd727afa9608b9e4 (diff) |
support FreeBSD
On FreeBSD the lib and include directories are in /usr/local rather than /usr.
-rw-r--r-- | config.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib # includes and libs -INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC} -LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 +INCS = -I. -I/usr/{,local/}include -I/usr/{,local/}include/freetype2 -I${X11INC} +LIBS = -L/usr/{,local/}lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 |