  
 -CPPFLAGS += -Wall -I. -I/usr/X11R6/include `freetype-config --cflags` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 
 -LDFLAGS += -L/usr/X11R6/$(LIBDIR) `freetype-config --libs`
-+CPPFLAGS += -Wall -I. -I/usr/X11R6/include `pkg-config --cflags freetype2` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 
-+LDFLAGS += -L/usr/X11R6/$(LIBDIR) `pkg-config --libs freetype2`
++CPPFLAGS += -Wall -I. `pkg-config --cflags freetype2` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 
++LDFLAGS += `pkg-config --libs freetype2`
  LDLIBS +=
  
  

 
 
-- 
2.9.4


* don't hardcode g++
* make ldconfig work on installed directory only
* use pkgconfig to find freetype2
* do not add host path to compiler/linker

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
