Do not override externally defined `INCLUDES`.

Message ID 1270497704.17161.2.camel@mattotaupa
State New
Headers

Commit Message

Paul Menzel April 5, 2010, 8:01 p.m. UTC
  In some environments, i. e. when cross building, include files are not located in the standard path like `/usr/includes/freetype2`. Make it possible to provide the correct path without needing to patch `Makefile`.

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
  

Patch

diff --git a/Makefile b/Makefile
index 31f05b0..c7af79c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@  MANDIR   = $(PREFIX)/share/man
 BINDIR   = $(PREFIX)/bin
 LOCDIR   = ./locale
 LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
-INCLUDES = -I/usr/include/freetype2
+INCLUDES ?= -I/usr/include/freetype2
 
 PLUGINDIR= ./PLUGINS
 PLUGINLIBDIR= $(PLUGINDIR)/lib