fix include and lib paths for the BSDs
This commit is contained in:
		| @ -11,8 +11,13 @@ X11INC = /usr/X11R6/include | |||||||
| X11LIB = /usr/X11R6/lib | X11LIB = /usr/X11R6/lib | ||||||
|  |  | ||||||
| # includes and libs | # includes and libs | ||||||
| INCS = -I. -I/usr/{,local/}include -I/usr/{,local/}include/freetype2 -I${X11INC} | INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC} | ||||||
| LIBS = -L/usr/{,local/}lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 | LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 | ||||||
|  | # OpenBSD (uncomment) | ||||||
|  | #INCS = -I. -I${X11INC} -I${X11INC}/freetype2 | ||||||
|  | # FreeBSD (uncomment) | ||||||
|  | #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 | # flags | ||||||
| CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 | CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user