Hello,

The attached patch makes VDR's Makefile use pkgconfig for finding libs and 
include dirs of freetype and fontconfig instead of making assumptions.
--- Makefile~	2008-02-29 23:43:03.000000000 +0200
+++ Makefile	2008-03-06 21:29:58.000000000 +0200
@@ -20,8 +20,8 @@
 MANDIR   = $(PREFIX)/share/man
 BINDIR   = $(PREFIX)/bin
 LOCDIR   = ./locale
-LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
-INCLUDES = -I/usr/include/freetype2
+LIBS     = -ljpeg -lpthread -ldl -lcap -lrt $(shell pkg-config --libs freetype2 fontconfig)
+INCLUDES = $(shell pkg-config --cflags-only-I freetype2 fontconfig)
 
 PLUGINDIR= ./PLUGINS
 PLUGINLIBDIR= $(PLUGINDIR)/lib
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to