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
@@ -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 

Reply via email to