[hackers] [sent] fix include and lib paths for the BSDs || Markus Teich

From: <git_AT_suckless.org>
Date: Tue, 15 Mar 2016 23:51:36 +0100 (CET)

commit 268d1968ea951b3eb2d1411a9e0d7c0fcb23217b
Author: Markus Teich <markus.teich_AT_stusta.mhn.de>
AuthorDate: Tue Mar 15 23:51:30 2016 +0100
Commit: Markus Teich <markus.teich_AT_stusta.mhn.de>
CommitDate: Tue Mar 15 23:51:30 2016 +0100

    fix include and lib paths for the BSDs

diff --git a/config.mk b/config.mk
index 6578ca8..03ecba4 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -11,8 +11,13 @@ X11INC = /usr/X11R6/include
 X11LIB = /usr/X11R6/lib
 
 # includes and libs
-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
+INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC}
+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
 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
Received on Tue Mar 15 2016 - 23:51:36 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 16 2016 - 00:00:31 CET