Source: clxclient
Version: 3.9.0-4
Severity: serious
Tags: ftbfs patch upstream

clxclient fails to build from source in unstable, because
freetype-config got removed. You're supposed to use pkg-config instead.
The attached patch fixes the build.

Helmut
--- clxclient-3.9.0.orig/Makefile
+++ clxclient-3.9.0/Makefile
@@ -31,8 +31,9 @@
 VERSION = $(MAJVERS).$(MINVERS)
 
 
-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) -Wl,--as-needed `freetype-config --libs`
+PKG_CONFIG ?= pkg-config
+CPPFLAGS += -Wall -I. -I/usr/X11R6/include `$(PKG_CONFIG) freetype2 --cflags` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 
+LDFLAGS += -L/usr/X11R6/$(LIBDIR) -Wl,--as-needed `$(PKG_CONFIG) freetype2 --libs`
 LDLIBS +=
 
 

Reply via email to