Re: [dev] [dwm] [patch] Fix freetype include on config.mk, imitating st file.

From: Henrique Lengler <henriqueleng_AT_opmbx.org>
Date: Sun, 15 Mar 2015 10:26:07 -0300

On Sun, Mar 15, 2015 at 12:15:04PM +0100, Anselm R Garbe wrote:
> I dislike depending on pkg-config. Can you supply the results instead
> and change the fix in a way that OpenBSD owners can amend their
> config.mk without touching the Linux versions?

I agree, and I solved in a better way, using the X11INC variable.
This is the patch:

diff --git a/config.mk b/config.mk
index cf95913..a15f677 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -15,7 +15,7 @@ XINERAMALIBS = -lXinerama
 XINERAMAFLAGS = -DXINERAMA

 # includes and libs
-INCS = -I${X11INC} -I/usr/include/freetype2
+INCS = -I${X11INC} -I${X11INC}/freetype2
 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lfontconfig -lXft

 # flags

But I don't know if this is good to Linux.
If this not work, I only think about create a commented line to OpenBSD
-- 
Regards
Henrique Lengler 
Received on Sun Mar 15 2015 - 14:26:07 CET

This archive was generated by hypermail 2.3.0 : Sun Mar 15 2015 - 14:36:08 CET